mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 21:38:18 +02:00
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> |
||
|---|---|---|
| .. | ||
| lcra.c | ||
| lcra.h | ||
| meson.build | ||
| pan_collect_varyings.c | ||
| pan_ir.c | ||
| pan_ir.h | ||
| pan_liveness.c | ||
| pan_lower_framebuffer.c | ||
| pan_lower_framebuffer.h | ||
| pan_lower_helper_invocation.c | ||
| pan_lower_image_index.c | ||
| pan_lower_image_ms.c | ||
| pan_lower_sample_position.c | ||
| pan_lower_store_component.c | ||
| pan_lower_writeout.c | ||
| pan_lower_xfb.c | ||