mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 03:48:06 +02:00
nvk: Stop using vk_cmd_set_dynamic_graphics_state in meta_end()
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
parent
e1c665013b
commit
0a9903f778
1 changed files with 6 additions and 1 deletions
|
|
@ -79,7 +79,12 @@ static void
|
|||
nvk_meta_end(struct nvk_cmd_buffer *cmd,
|
||||
struct nvk_meta_save *save)
|
||||
{
|
||||
vk_cmd_set_dynamic_graphics_state(&cmd->vk, &save->dynamic);
|
||||
/* Restore the dynamic state */
|
||||
cmd->vk.dynamic_graphics_state = save->dynamic;
|
||||
memcpy(cmd->vk.dynamic_graphics_state.dirty,
|
||||
cmd->vk.dynamic_graphics_state.set,
|
||||
sizeof(cmd->vk.dynamic_graphics_state.set));
|
||||
|
||||
if (save->pipeline)
|
||||
nvk_cmd_bind_graphics_pipeline(cmd, save->pipeline);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue