zink: don't bitcast bool deref loads/stores
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 28 Mar 2023 18:54:28 +0000 (14:54 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Apr 2023 12:58:12 +0000 (12:58 +0000)
commit9bf4db8ebb4d12a867edbf0740b55cc920fef712
tree51158ef34691f5c9de2c003688db48c99fb4148d
parent82add9f2e992be166c60551cfc5baaea0fd0d3a3
zink: don't bitcast bool deref loads/stores

a bool can only be a bool, and OpBitCast requires the src type to be
different than the dst type, so this is illegal

cc: mesa-stable

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