mesa/src/panfrost/util
Emma Anholt 3beae0f98e nir,panfrost,agx: Fix driver PIXEL_COORD_INTEGER setting and drop workaround.
nir_lower_frag_coord_to_pixel_coord was adding .5 to work around that the
drivers were mistakenly setting PIXEL_COORD_HALF_INTEGER.  With the
setting corrected, the GL frontend handles it appropriately (instead of
subtracting half in the frontend for ARB_fragment_coord_conventions
integer setting and then adding the half back here), and makes the pass
reusable from Intel.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29585>
2024-06-10 16:59:38 +00:00
..
lcra.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
lcra.h panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
meson.build panfrost: Move the image attribute offset adjustment to a NIR pass 2024-03-26 09:24:25 +01:00
pan_collect_varyings.c pan/mdg: quirk to disable auto32 2024-05-09 21:21:32 +00:00
pan_ir.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_ir.h pan/mdg: quirk to disable auto32 2024-05-09 21:21:32 +00:00
pan_liveness.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_lower_framebuffer.c treewide: Drop nir_ssa_for_src users 2023-09-18 10:25:17 -04:00
pan_lower_framebuffer.h pan/lower_framebuffer: Lower MSAA blend shaders 2023-03-23 23:53:46 +00:00
pan_lower_helper_invocation.c treewide: Use nir_shader_intrinsic_pass sometimes 2023-08-24 15:48:02 +00:00
pan_lower_image_index.c panfrost: Move the image attribute offset adjustment to a NIR pass 2024-03-26 09:24:25 +01:00
pan_lower_image_ms.c panfrost: add lowering pass for multisampled images 2024-02-26 19:01:32 +00:00
pan_lower_sample_position.c nir,panfrost,agx: Fix driver PIXEL_COORD_INTEGER setting and drop workaround. 2024-06-10 16:59:38 +00:00
pan_lower_store_component.c treewide: Use nir_shader_intrinsic_pass sometimes 2023-08-24 15:48:02 +00:00
pan_lower_writeout.c panfrost: Fix dual-source blending 2024-02-05 13:25:56 +00:00
pan_lower_xfb.c treewide: Use nir_shader_intrinsic_pass sometimes 2023-08-24 15:48:02 +00:00