zink: don't run update_so_info if shader has no outputs
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 7 Apr 2023 13:18:00 +0000 (09:18 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Apr 2023 01:33:16 +0000 (01:33 +0000)
commit8650aa056031e65f31e68ae8ca4d7fd1bb1629b5
treefb7537d66647cb41b841e4b972cef69a5a61c9b3
parentbf746b59212e60fcb71cbacbdef36d3d6f4f1a6f
zink: don't run update_so_info if shader has no outputs

this probably means all outputs were eliminated by the linker,
but in any case it's not going to do anything

fixes spec@glsl-1.50@execution@interface-blocks-api-access-members

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22725>
src/gallium/drivers/zink/zink_compiler.c