glsl_to_nir: fix crashes with int16 shifts
authorMarek Olšák <marek.olsak@amd.com>
Thu, 3 Sep 2020 13:27:58 +0000 (09:27 -0400)
committerVivek Pandya <vivekvpandya@gmail.com>
Mon, 7 Sep 2020 15:55:15 +0000 (21:25 +0530)
commitf133bfde06d0c6a68e2b1f4ee836d9e472585d5e
tree384705ed36f2b087abe1d8da4055f5436414a15a
parentcf6010eb6341d7b8f60a62c45b8e58b060782625
glsl_to_nir: fix crashes with int16 shifts

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6613>
src/compiler/glsl/glsl_to_nir.cpp