Skip to content

nir: Fix clamping of uints for texture lowering.

Emma Anholt requested to merge anholt/mesa:nir-format-convert into master

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: d3e046e7 ("nir: Pull some of intel's image load/store format conversion to nir_format.h")

Merge request reports