zink: fix ntv partial stores
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 20 May 2022 17:23:05 +0000 (13:23 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 10 Jun 2022 02:35:12 +0000 (02:35 +0000)
commit31ba19ff681224208943787cedd0b1ada11329e2
treed1eba670e7872f00d603d066169b362495920f04
parentb59d67431dcd3df2ed8c43daecae1e5ca53dbe7a
zink: fix ntv partial stores

the previous conditional here was stupid and wrong: it should be comparing
to see whether the writemask is the full mask of the type's size

cc: mesa-stable

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16669>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.c