nir/spirv: cast shift operand to u32
authorKarol Herbst <kherbst@redhat.com>
Thu, 26 Apr 2018 14:54:26 +0000 (16:54 +0200)
committerKarol Herbst <kherbst@redhat.com>
Wed, 14 Nov 2018 01:09:11 +0000 (02:09 +0100)
commitb4380cb070c0865f1fbfb3720056545665759bc3
tree61f82d06be7dceefa71bf975ea6c36477e7e51b3
parent099728b1151184f7a110f3a16c999fe7ef9229cc
nir/spirv: cast shift operand to u32

v2: fix for specialization constants as well

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Karol Herbst <kherbst@redhat.com>
src/compiler/spirv/spirv_to_nir.c
src/compiler/spirv/vtn_alu.c