Skip to content

vrend: clear cs_shader_dirty only after sucessfully picking a program

Gert Wollny requested to merge gerddie/virglrenderer:vrend-fix-cs-dirty into main

Otherwise, if launch_grid is called two times without updating the shaders, we will end up without a bound program and segfault eventually.

Closes: https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues/502

Merge request reports