venus: fix async compute pipeline creation

Fixes: a771efdefe ("venus: Enable VK_EXT_pipeline_creation_cache_control")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26179>
(cherry picked from commit aed4c4d04e)
This commit is contained in:
Yiwei Zhang 2023-11-11 19:27:10 -08:00 committed by Eric Engestrom
parent 8975c22b52
commit 0f6ee029d8
2 changed files with 4 additions and 4 deletions

View file

@ -444,7 +444,7 @@
"description": "venus: fix async compute pipeline creation",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "a771efdefedc844bb9a792abfc7c316468d8b2e2",
"notes": null

View file

@ -1432,9 +1432,9 @@ vn_CreateComputePipelines(VkDevice device,
if (result != VK_SUCCESS)
vn_destroy_failed_pipelines(dev, createInfoCount, pPipelines, alloc);
} else {
vn_call_vkCreateComputePipelines(dev->instance, device, pipelineCache,
createInfoCount, pCreateInfos, NULL,
pPipelines);
vn_async_vkCreateComputePipelines(dev->instance, device, pipelineCache,
createInfoCount, pCreateInfos, NULL,
pPipelines);
result = VK_SUCCESS;
}