mirror of https://gitlab.freedesktop.org/mesa/mesa
radv: track if nested command buffers uses indirect draws
IB2 packets should be avoided when a cmdbuf executes nested cmdbufs. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28826>
This commit is contained in:
parent
0d18a2f4fb
commit
7de95e7742
|
@ -8078,6 +8078,8 @@ radv_CmdExecuteCommands(VkCommandBuffer commandBuffer, uint32_t commandBufferCou
|
|||
primary->state.last_db_shader_control = secondary->state.last_db_shader_control;
|
||||
|
||||
primary->state.rb_noncoherent_dirty |= secondary->state.rb_noncoherent_dirty;
|
||||
|
||||
primary->state.uses_draw_indirect |= secondary->state.uses_draw_indirect;
|
||||
}
|
||||
|
||||
/* After executing commands from secondary buffers we have to dirty
|
||||
|
|
Loading…
Reference in New Issue