glsl_to_nir: fix bitfield_extract with 16-bit operands
authorRob Clark <robdclark@chromium.org>
Sat, 18 Jul 2020 17:02:11 +0000 (10:02 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Aug 2020 22:04:47 +0000 (22:04 +0000)
commit5e922fbc160bcda9b38ccf5704cbd7276a748094
tree12947a063861532e845709a8cef152f6c88c1451
parent92f5e94a9379ed8871890fc4ae8efccd156ac7de
glsl_to_nir: fix bitfield_extract with 16-bit operands

These are defined to explicitly take 32b values.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6073>
src/compiler/glsl/glsl_to_nir.cpp