radv: stop dirtying the graphics pipeline when restoring it
radv_CmdBindPipeline() does it already. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18567>
This commit is contained in:
committed by
Marge Bot
parent
73f1155193
commit
949d76d174
@@ -152,8 +152,6 @@ radv_meta_restore(const struct radv_meta_saved_state *state, struct radv_cmd_buf
|
||||
cmd_buffer->state.graphics_pipeline = NULL;
|
||||
}
|
||||
|
||||
cmd_buffer->state.dirty |= RADV_CMD_DIRTY_PIPELINE;
|
||||
|
||||
/* Restore all dynamic states. */
|
||||
cmd_buffer->state.dynamic = state->dynamic;
|
||||
cmd_buffer->state.dirty |= RADV_DYNAMIC_ALL;
|
||||
|
||||
Reference in New Issue
Block a user