Skip to content

vrend: don't make a texture view if levels or layers is zero

Gert Wollny requested to merge gerddie/virglrenderer:vrend-check-tv-input into main

The host OpenGL implementation should reject this, but at least mesa has a bug there that leads to a crash (mesa/mesa!25532 (merged)), so avoid all the work for creating a texture view if it will be invalid.

Merge request reports