mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
lavapipe: zero out the dsa state info and flag for updating on null dsa state
this still needs to be updated if there's no pipeline info available Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10625>
This commit is contained in:
parent
788121158a
commit
63df2f736d
1 changed files with 3 additions and 3 deletions
|
|
@ -571,9 +571,9 @@ static void handle_graphics_pipeline(struct lvp_cmd_buffer_entry *cmd,
|
||||||
state->stencil_ref_dirty = true;
|
state->stencil_ref_dirty = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else
|
||||||
state->dsa_dirty = true;
|
memset(&state->dsa_state, 0, sizeof(state->dsa_state));
|
||||||
}
|
state->dsa_dirty = true;
|
||||||
|
|
||||||
if (pipeline->graphics_create_info.pColorBlendState) {
|
if (pipeline->graphics_create_info.pColorBlendState) {
|
||||||
const VkPipelineColorBlendStateCreateInfo *cb = pipeline->graphics_create_info.pColorBlendState;
|
const VkPipelineColorBlendStateCreateInfo *cb = pipeline->graphics_create_info.pColorBlendState;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue