zink: iterate all the modes when doing separate shader fixups

otherwise this might only do the inputs without also handling outputs

Fixes: 0a12cedec9 ("zink: add a special separate shader i/o mode for legacy variables")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28185>
This commit is contained in:
Mike Blumenkrantz 2024-03-14 12:28:34 -04:00 committed by Marge Bot
parent b68f2e747c
commit e931ef4884

View file

@ -4969,7 +4969,7 @@ fixup_io_locations(nir_shader *nir)
else
var->data.driver_location = var->data.location;
}
return true;
continue;
}
/* i/o interface blocks are required to be EXACT matches between stages:
* iterate over all locations and set locations incrementally