mesa/src/gallium/drivers/llvmpipe
Dave Airlie 876db77bae llvmpipe/fs: handle unrestricted depth values.
It moves the explicit clamping of incoming Z from vertex stages
after interp, to the depth clamp function.

It adds support to the depth clamp function to restrict incoming
Z values to 0..1 range.

It fixes the depth test conversions to allow unrestricted depth
values.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17612>
2022-07-28 10:36:00 +10:00
..
ci zink/llvmpipe/ci: skip broken CTS ballot test. 2022-07-27 20:58:56 +00:00
lp_bld_alpha.c
lp_bld_alpha.h
lp_bld_blend.c llvmpipe: use enum blend types instead of unsigned 2022-06-16 23:46:23 +00:00
lp_bld_blend.h llvmpipe: use enum blend types instead of unsigned 2022-06-16 23:46:23 +00:00
lp_bld_blend_aos.c llvmpipe: asst. clean-ups in lp_bld_blend_aos.c 2022-06-15 12:30:05 +00:00
lp_bld_blend_logicop.c llvmpipe: use enum blend types instead of unsigned 2022-06-16 23:46:23 +00:00
lp_bld_depth.c llvmpipe/fs: handle unrestricted depth values. 2022-07-28 10:36:00 +10:00
lp_bld_depth.h llvmpipe/fs: handle unrestricted depth values. 2022-07-28 10:36:00 +10:00
lp_bld_interp.c llvmpipe/fs: handle unrestricted depth values. 2022-07-28 10:36:00 +10:00
lp_bld_interp.h llvmpipe/fs: handle unrestricted depth values. 2022-07-28 10:36:00 +10:00
lp_clear.c llvmpipe: Add a linear rasterizer optimized for 2D rendering. 2021-07-21 22:40:18 +02:00
lp_clear.h
lp_context.c llvmpipe: keep context list and use to track resource usage. 2022-07-27 01:09:34 +00:00
lp_context.h llvmpipe: keep context list and use to track resource usage. 2022-07-27 01:09:34 +00:00
lp_cs_tpool.c util/c11: Update function u_thread_create to be c11 conformance 2022-06-15 17:37:17 +00:00
lp_cs_tpool.h llvmpipe/cs: rework thread pool for avoid mtx locking 2021-09-16 13:21:06 +10:00
lp_debug.h llvmpipe: Add a linear rasterizer optimized for 2D rendering. 2021-07-21 22:40:18 +02:00
lp_draw_arrays.c llvmpipe: disable statistic queries during draw if queries are disabled 2022-05-03 13:00:50 +00:00
lp_fence.c llvmpipe: handle timespec overflow on fence waits. 2022-06-03 03:37:21 +00:00
lp_fence.h
lp_flush.c llvmpipe: keep context list and use to track resource usage. 2022-07-27 01:09:34 +00:00
lp_flush.h
lp_jit.c llvmpipe: Add a linear rasterizer optimized for 2D rendering. 2021-07-21 22:40:18 +02:00
lp_jit.h llvmpipe: minor clean-ups in lp_jit.h 2022-06-15 12:30:05 +00:00
lp_limits.h llvmpipe: Add a linear rasterizer optimized for 2D rendering. 2021-07-21 22:40:18 +02:00
lp_linear.c llvmpipe: fix invalid memory used in lp_fs_linear_run 2022-07-14 19:16:07 +00:00
lp_linear_fastpath.c llvmpipe: fix comment typo in lp_linear_fastpath.c 2022-06-15 12:30:04 +00:00
lp_linear_interp.c llvmpipe: minor optimization in lp_linear_init_interp() 2022-07-27 22:24:55 +00:00
lp_linear_priv.h llvmpipe: use c11 alignas instead of PIPE_ALIGN_VAR 2022-06-14 15:08:38 +00:00
lp_linear_sampler.c llvmpipe: don't allow texture/resource swizzles on linear path 2022-07-14 19:16:07 +00:00
lp_memory.c llvmpipe: use c11 alignas instead of PIPE_ALIGN_VAR 2022-06-14 15:08:38 +00:00
lp_memory.h llvmpipe: use c11 alignas instead of PIPE_ALIGN_VAR 2022-06-14 15:08:38 +00:00
lp_perf.c llvmpipe: Add a linear rasterizer optimized for 2D rendering. 2021-07-21 22:40:18 +02:00
lp_perf.h llvmpipe: Add a linear rasterizer optimized for 2D rendering. 2021-07-21 22:40:18 +02:00
lp_public.h
lp_query.c llvmpipe/query: add support for partial query waits. 2022-02-21 03:52:02 +00:00
lp_query.h
lp_rast.c llvmpipe: make last_fence a screen/rast object not a context one. 2022-07-27 01:09:34 +00:00
lp_rast.h llvmpipe: make last_fence a screen/rast object not a context one. 2022-07-27 01:09:34 +00:00
lp_rast_debug.c llvmpipe: remove lp_rast_cmd_arg::state field 2022-07-14 19:16:07 +00:00
lp_rast_linear.c llvmpipe: remove unneeded casts 2022-07-27 22:24:56 +00:00
lp_rast_linear_fallback.c llvmpipe: add some const qualifiers in lp_rast_linear_fallback.c 2022-07-27 22:24:56 +00:00
lp_rast_priv.h llvmpipe: make last_fence a screen/rast object not a context one. 2022-07-27 01:09:34 +00:00
lp_rast_rect.c llvmpipe: Add a linear rasterizer optimized for 2D rendering. 2021-07-21 22:40:18 +02:00
lp_rast_tri.c llvmpipe: misc clean-up in lp_rast_tri.c 2022-06-15 12:30:05 +00:00
lp_rast_tri_tmp.h llvmpipe: asst. clean-ups in lp_rast_tri_tmp.h 2022-06-15 12:30:05 +00:00
lp_scene.c llvmpipe: Allocate scene tiles dynamically 2022-07-27 23:00:28 +00:00
lp_scene.h llvmpipe: Allocate scene tiles dynamically 2022-07-27 23:00:28 +00:00
lp_scene_queue.c llvmpipe: base the scene queue size of the max number of scenes. 2022-02-21 03:52:02 +00:00
lp_scene_queue.h
lp_screen.c llvmpipe: export ARB_shader_ballot 2022-07-27 20:58:56 +00:00
lp_screen.h llvmpipe: keep context list and use to track resource usage. 2022-07-27 01:09:34 +00:00
lp_setup.c llvmpipe: make last_fence a screen/rast object not a context one. 2022-07-27 01:09:34 +00:00
lp_setup.h llvmpipe: minor white-space clean-up in lp_setup.h 2022-07-27 22:24:55 +00:00
lp_setup_analysis.c llvmpipe: use c11 alignas instead of PIPE_ALIGN_VAR 2022-06-14 15:08:38 +00:00
lp_setup_context.h llvmpipe: make last_fence a screen/rast object not a context one. 2022-07-27 01:09:34 +00:00
lp_setup_line.c llvmpipe: clean up bresenham implementation 2022-07-25 12:39:47 +02:00
lp_setup_point.c llvmpipe: consolidate legacy_points and multisample state 2022-07-25 12:39:47 +02:00
lp_setup_rect.c llvmpipe: asst. clean-ups in lp_setup_rect.c 2022-07-27 22:24:55 +00:00
lp_setup_tri.c llvmpipe: remove unneeded casts 2022-07-27 22:24:56 +00:00
lp_setup_vbuf.c llvmpipe: Add a linear rasterizer optimized for 2D rendering. 2021-07-21 22:40:18 +02:00
lp_state.h llvmpipe: Add a linear rasterizer optimized for 2D rendering. 2021-07-21 22:40:18 +02:00
lp_state_blend.c llvmpipe: minor clean-up in lp_state_blend.c 2022-06-16 23:46:23 +00:00
lp_state_clip.c Change all debug_assert calls to assert 2022-07-10 00:50:35 +00:00
lp_state_cs.c llvmpipe: Fill out samplers even if nr_samplers = 0 2022-05-12 01:32:58 +00:00
lp_state_cs.h llvmpipe: replace uses of simple_list.h with list.h 2022-04-22 09:39:57 -07:00
lp_state_derived.c llvmpipe: asst. clean-up in lp_state_derived.c 2022-06-15 12:30:04 +00:00
lp_state_fs.c llvmpipe/fs: handle unrestricted depth values. 2022-07-28 10:36:00 +10:00
lp_state_fs.h llvmpipe/fs: handle unrestricted depth values. 2022-07-28 10:36:00 +10:00
lp_state_fs_analysis.c llvmpipe: fix texcoord analysis regression 2022-07-27 15:51:27 +00:00
lp_state_fs_fastpath.c llvmpipe: Add a linear rasterizer optimized for 2D rendering. 2021-07-21 22:40:18 +02:00
lp_state_fs_linear.c llvmpipe: asst. clean-ups in lp_state_fs_linear.c 2022-06-15 12:30:05 +00:00
lp_state_fs_linear_llvm.c llvmpipe: replace 'unsigned' with enum types 2022-07-27 22:24:56 +00:00
lp_state_gs.c
lp_state_rasterizer.c llvmpipe: merge all rasterizer-bind functions 2022-07-25 12:39:42 +02:00
lp_state_sampler.c llvmpipe: handle sampling from 2d views of 3d images 2022-03-30 03:18:52 +00:00
lp_state_setup.c llvmpipe: asst. clean-ups in lp_state_setup.c 2022-07-27 22:24:56 +00:00
lp_state_setup.h llvmpipe: minor whitespace/formatting cleanups in lp_state_setup.h 2022-06-15 12:30:05 +00:00
lp_state_so.c
lp_state_surface.c llvmpipe: fix debug print iterating in set_framebuffer_state 2022-03-08 21:42:02 +00:00
lp_state_tess.c gallium: remove vertices_per_patch, add pipe_context::set_patch_vertices 2021-08-21 00:08:11 +00:00
lp_state_vertex.c
lp_state_vs.c
lp_surface.c llvmpipe: add a shortcut for blitter resolves 2022-07-26 00:02:26 +00:00
lp_surface.h
lp_test.h
lp_test_arit.c gallium: LLVM-15 contexts use non-opaque pointers 2022-07-17 21:44:37 +00:00
lp_test_blend.c gallium: LLVM-15 contexts use non-opaque pointers 2022-07-17 21:44:37 +00:00
lp_test_conv.c gallium: LLVM-15 contexts use non-opaque pointers 2022-07-17 21:44:37 +00:00
lp_test_format.c llvmpipe: Remove format desc null checks 2022-07-21 12:48:01 +00:00
lp_test_main.c util: Remove util_cpu_detect 2022-04-20 18:44:35 +00:00
lp_test_printf.c gallium: LLVM-15 contexts use non-opaque pointers 2022-07-17 21:44:37 +00:00
lp_tex_sample.c llvmpipe: asst. clean-ups in lp_tex_sample.c 2022-06-15 12:30:05 +00:00
lp_tex_sample.h
lp_texture.c llvmpipe: add user memory resources to the debug global list. 2022-04-28 11:06:01 +10:00
lp_texture.h llvmpipe: replace uses of simple_list.h with list.h 2022-04-22 09:39:57 -07:00
meson.build build: add sha1_h for lp_texture.c 2021-11-05 05:54:20 +00:00