Skip to content

zink: do not leave needless shader temps around

Erik Faye-Lund requested to merge kusma/mesa:zink-shader-temp-fix into main

This used to not matter, but since we started emitting shader-temps properly, this causes issues where we end up with samplers and images as shader-temps. That causes asserts while emitting them.

So let's remove the unused vars as well.

This fixes a piglit regression that somehow went unnoticed on CI.

Fixes: 85964945 ("zink: emit vars with nir_var_shader_temp mode") Tested-by: Martin Roukala (né Peres) martin.roukala@mupuf.org

Merge request reports