venus: ensure to clear VkPipelineCreationFeedback::flags if needed
Fixes: d0cb99e96a
("venus: Enable VK_EXT_pipeline_creation_feedback")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18741>
This commit is contained in:
@@ -666,14 +666,11 @@ vn_invalidate_pipeline_creation_feedback(const VkBaseInStructure *chain)
|
||||
if (!feedback_info)
|
||||
return;
|
||||
|
||||
feedback_info->pPipelineCreationFeedback->flags &=
|
||||
~VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT;
|
||||
feedback_info->pPipelineCreationFeedback->flags = 0;
|
||||
|
||||
for (uint32_t i = 0; i < feedback_info->pipelineStageCreationFeedbackCount;
|
||||
i++) {
|
||||
feedback_info->pPipelineStageCreationFeedbacks[i].flags &=
|
||||
~VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT;
|
||||
}
|
||||
i++)
|
||||
feedback_info->pPipelineStageCreationFeedbacks[i].flags = 0;
|
||||
}
|
||||
|
||||
VkResult
|
||||
|
Reference in New Issue
Block a user