zink: do io fixup on patch variables too

fixes spec@arb_separate_shader_objects@rendezvous by location (5 stages)

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28296>
This commit is contained in:
Mike Blumenkrantz 2024-03-19 16:07:09 -04:00 committed by Marge Bot
parent f88922e816
commit f79557dd38

View file

@ -4975,7 +4975,7 @@ fixup_io_locations(nir_shader *nir)
* iterate over all locations and set locations incrementally
*/
unsigned slot = 0;
for (unsigned i = 0; i < VARYING_SLOT_MAX; i++) {
for (unsigned i = 0; i < VARYING_SLOT_TESS_MAX; i++) {
if (nir_slot_is_sysval_output(i, MESA_SHADER_NONE))
continue;
bool found = false;