zink: delete unnecessary bitcast in load_shared/scratch
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 9 May 2023 14:37:28 +0000 (10:37 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 23 May 2023 01:02:56 +0000 (01:02 +0000)
commite4dacc382ee34c38a0ed19e1652bffeec651c0fe
tree836cec5292facfcc699ffb8d972f2d505e6716fa
parent5d8103b109bcbfe98402f43aecd8f0fd1d6fd815
zink: delete unnecessary bitcast in load_shared/scratch

if the mem is loaded as uint and stored as uint, then
the loaded and stored value must be uint, so a bitcast to uint
is as pointless as this commit message

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