radv: Reset emitted compute pipeline when calling secondary cmd buffer.
Otherwise if the new compute pipeline is the same as the last used pipeline before the call, we don't emit it again. Signed-off-by: Bas Nieuwenhuizen <basni@google.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Cc: 13.0 17.0 <mesa-stable@lists.freedesktop.org>
This commit is contained in:
@@ -2114,6 +2114,7 @@ void radv_CmdExecuteCommands(
|
||||
/* if we execute secondary we need to re-emit out pipelines */
|
||||
if (commandBufferCount) {
|
||||
primary->state.emitted_pipeline = NULL;
|
||||
primary->state.emitted_compute_pipeline = NULL;
|
||||
primary->state.dirty |= RADV_CMD_DIRTY_PIPELINE;
|
||||
primary->state.dirty |= RADV_CMD_DIRTY_DYNAMIC_ALL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user