Skip to content

lavapipe: do not assert on more than 32 samplers

Erik Faye-Lund requested to merge kusma/mesa:lvp-sampler-fix into main

We can have more than 32 samplers, but the code below will assert in that case. The return value is not used for samplers, so let's just return zero early and be done with it.

Fixes: c18ff600 ("lavapipe: emit correct textures_used for texture-arrays")

Edited by Erik Faye-Lund

Merge request reports