Skip to content

glsl/nir/linker: Also remove image variables

Faith Ekstrand requested to merge gfxstrand/mesa:review/remove-dead-images into main

If we don't, then the array shrinker may shrink them to an array of zero images which can cause GLSL serialization to blow up but only the next time the GLSL shader is loaded from the disk cache.

Fixes: b8ee3747 ("glsl: Use nir_var_mem_image for images") Closes: #5520 (closed)

Merge request reports