mesa/src/panfrost/util
Alyssa Rosenzweig bf41854812 panfrost: Lower vertex_id for XFB
Even on Valhall, vertex_id is zero-based in a transform feedback program. Lower
that for transform feedback programs properly since it wouldn't happen
automatically on Valhall. Fixes assertion fails.

Fixes: 91ffd10351 ("pan/bi: Lower gl_VertexID in NIR")
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24198>
(cherry picked from commit 64ff2b3ed6)
2023-07-21 18:08:08 +01: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: Lower sysvals in GL 2023-03-23 23:53:46 +00:00
nir_mod_helpers.c nir: Combine if_uses with instruction uses 2023-04-07 23:48:03 +00:00
pan_collect_varyings.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_ir.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_ir.h panfrost: move max_thread_count and take reg_count into account 2023-03-31 20:29:00 +00:00
pan_liveness.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_lower_64bit_intrin.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_lower_framebuffer.c pan/lower_framebuffer: Lower MSAA blend shaders 2023-03-23 23:53:46 +00: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 panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_lower_sample_position.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_lower_store_component.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_lower_writeout.c panfrost: clang-format the tree 2022-12-24 02:22:57 +00:00
pan_lower_xfb.c panfrost: Lower vertex_id for XFB 2023-07-21 18:08:08 +01:00