Skip to content

tu: Lazily init VSC to fix dynamic rendering in secondary cmdbufs

Dynamic renderpasses need vsc_prim_strm_pitch, vsc_draw_strm_pitch values, and a correct BO. The easiest way to solve this is to lazily init VSC when it is needed, and not at every cmdbuf initialization.

Fixes CTS tests (when running with TU_DEBUG=gmem,forcebin):

 dEQP-VK.draw.dynamic_rendering.complete_secondary_cmd_buff.*

Merge request reports