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:
committed by
Marge Bot
parent
788121158a
commit
63df2f736d
@@ -571,9 +571,9 @@ static void handle_graphics_pipeline(struct lvp_cmd_buffer_entry *cmd,
|
||||
state->stencil_ref_dirty = true;
|
||||
}
|
||||
}
|
||||
|
||||
state->dsa_dirty = true;
|
||||
}
|
||||
} else
|
||||
memset(&state->dsa_state, 0, sizeof(state->dsa_state));
|
||||
state->dsa_dirty = true;
|
||||
|
||||
if (pipeline->graphics_create_info.pColorBlendState) {
|
||||
const VkPipelineColorBlendStateCreateInfo *cb = pipeline->graphics_create_info.pColorBlendState;
|
||||
|
||||
Reference in New Issue
Block a user