venus: fix async compute pipeline creation
authorYiwei Zhang <zzyiwei@chromium.org>
Sun, 12 Nov 2023 03:27:10 +0000 (19:27 -0800)
committerEric Engestrom <eric@engestrom.ch>
Fri, 8 Dec 2023 11:24:46 +0000 (11:24 +0000)
Fixes: a771efdefed ("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 aed4c4d04e76e65ed3ae3159ae12014aa1c8f492)

.pick_status.json
src/virtio/vulkan/vn_pipeline.c

index d48193f..b1dbc03 100644 (file)
         "description": "venus: fix async compute pipeline creation",
         "nominated": true,
         "nomination_type": 1,
-        "resolution": 0,
+        "resolution": 1,
         "main_sha": null,
         "because_sha": "a771efdefedc844bb9a792abfc7c316468d8b2e2",
         "notes": null
index 1637fc9..dc5a18a 100644 (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;
    }