nir: Fix clamping of uints for image store lowering.
authorEric Anholt <eric@anholt.net>
Sat, 15 Dec 2018 00:53:18 +0000 (16:53 -0800)
committerJason Ekstrand <jason@jlekstrand.net>
Mon, 17 Dec 2018 20:02:22 +0000 (20:02 +0000)
commit708d8f4d0a557f509435e05696a4096a2900d748
tree2f167bbe8dcca3b88cc2eff0fbd996f5ef0e10b4
parent00e2cbc049985c0f17511d28495e119f2718abc6
nir: Fix clamping of uints for image store lowering.

I botched some copy-and-paste and clamped to signed int max instead of
uint max.  Fixes KHR-GL46.shader_image_load_store.multiple-uniforms on
skl.

Fixes: d3e046e76c06 ("nir: Pull some of intel's image load/store format
conversion to nir_format.h")
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir_format_convert.h