diff options
author | Mike Blumenkrantz <michael.blumenkrantz@gmail.com> | 2024-03-19 16:07:09 -0400 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-03-20 15:09:12 +0000 |
commit | f79557dd38db2fdf6fc1c009aec969508b69d50a (patch) | |
tree | c218946a40f8380928cc42512280f1221165e13f | |
parent | f88922e8161624e52bbeb7f918bee23f94b1aafd (diff) |
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>
-rw-r--r-- | src/gallium/drivers/zink/zink_compiler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/zink/zink_compiler.c b/src/gallium/drivers/zink/zink_compiler.c index 6acf9124f2e..3de4f9842eb 100644 --- a/src/gallium/drivers/zink/zink_compiler.c +++ b/src/gallium/drivers/zink/zink_compiler.c @@ -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; |