mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 03:50:13 +01:00
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:
parent
5e39b52e6a
commit
373bc6f1d5
1 changed files with 3 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue