zink: add a special separate shader i/o mode for legacy variables
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 10 Aug 2023 11:46:35 +0000 (07:46 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 11 Aug 2023 04:44:46 +0000 (04:44 +0000)
commit0a12cedec91514cfbd1d584705c4debc6a3abd40
tree807c05d7709b9ef6d7ff746c4112bfe58232220b
parentb24911e5dbdde2c46a4aae7bb87930ff30d837ee
zink: add a special separate shader i/o mode for legacy variables

ARB shaders have no rules restricting i/o interfaces since it's assumed
that they'll match by name. given that mesa marks these all as separate
shaders, a separate path is needed to ensure these variables correctly
match up their i/o even when it's mismatched

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24608>
src/gallium/drivers/zink/ci/zink-radv-vangogh-fails.txt
src/gallium/drivers/zink/zink_compiler.c