mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
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>
(cherry picked from commit bb878db7eb)
This commit is contained in:
parent
03982603f0
commit
3169c9818b
1 changed files with 1 additions and 0 deletions
|
|
@ -1827,6 +1827,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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue