Module: Mesa
Branch: staging/23.3
Commit: 0f6ee029d8787b23721acd4653f6049233b2f8d4
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f6ee029d8787b23721acd4653f6049233b2f8d4

Author: Yiwei Zhang <[email protected]>
Date:   Sat Nov 11 19:27:10 2023 -0800

venus: fix async compute pipeline creation

Fixes: a771efdefed ("venus: Enable VK_EXT_pipeline_creation_cache_control")
Signed-off-by: Yiwei Zhang <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26179>
(cherry picked from commit aed4c4d04e76e65ed3ae3159ae12014aa1c8f492)

---

 .pick_status.json               | 2 +-
 src/virtio/vulkan/vn_pipeline.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.pick_status.json b/.pick_status.json
index d48193f4ee1..b1dbc03a27b 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -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
diff --git a/src/virtio/vulkan/vn_pipeline.c b/src/virtio/vulkan/vn_pipeline.c
index 1637fc96b26..dc5a18a0781 100644
--- a/src/virtio/vulkan/vn_pipeline.c
+++ b/src/virtio/vulkan/vn_pipeline.c
@@ -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;
    }
 

Reply via email to