zink: fix xfb emit check in compiler
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 8 Jul 2022 13:52:30 +0000 (09:52 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 15 Jul 2022 17:32:27 +0000 (17:32 +0000)
commit56e5eaeba1bd2c425c00dc16e1de477602a71a49
treeace09e2755cce6161fc69025673e0400c0ff1853
parentbd2eaaeb7debeef417fe3d9fd04fbd5df4e11ed7
zink: fix xfb emit check in compiler

nir->info.has_transform_feedback_varyings is set for all stages in the
pipeline when xfb is present, so it can't be used for this

harmless, but this is more correct

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17404>
src/gallium/drivers/zink/zink_compiler.c