zink: always emit sample id 0 for non-msaa texel pointers in ntv
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 2 Sep 2021 16:44:07 +0000 (12:44 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 7 Sep 2021 13:17:45 +0000 (13:17 +0000)
commit22da219dd8946e000cc880ba2706ec3c3077e493
tree2e9ce2aa7369f86edb1b2662dabbd8c692792d92
parentd524d0d72b0c7c5cc88e3420384ee7cce72446d1
zink: always emit sample id 0 for non-msaa texel pointers in ntv

in practice this shouldn't matter since the sample id must always be zero,
but it's still a spec violation

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