Mesa (staging/22.1): dzn: Add missing VKAPI_{ATTR,CALL} specifiers to BeginCommandBuffer()

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Apr 25 04:07:33 UTC 2022


Module: Mesa
Branch: staging/22.1
Commit: 001a5c73cc494dc359236c854ee202f0725e22a2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=001a5c73cc494dc359236c854ee202f0725e22a2

Author: Boris Brezillon <boris.brezillon at collabora.com>
Date:   Fri Apr 22 10:55:55 2022 -0700

dzn: Add missing VKAPI_{ATTR,CALL} specifiers to BeginCommandBuffer()

Fixes: a012b219640 ("microsoft: Initial vulkan-on-12 driver")
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16109>
(cherry picked from commit cb9ad71d75f0b14bfbf33a61539f474322edf165)

---

 .pick_status.json                       | 2 +-
 src/microsoft/vulkan/dzn_cmd_buffer.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.pick_status.json b/.pick_status.json
index 71ee7749fc1..d6e7cac9abf 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -463,7 +463,7 @@
         "description": "dzn: Add missing VKAPI_{ATTR,CALL} specifiers to BeginCommandBuffer()",
         "nominated": true,
         "nomination_type": 1,
-        "resolution": 0,
+        "resolution": 1,
         "main_sha": null,
         "because_sha": "a012b219640e875aa552b37dfdaf69336d5863c7"
     },
diff --git a/src/microsoft/vulkan/dzn_cmd_buffer.cpp b/src/microsoft/vulkan/dzn_cmd_buffer.cpp
index 2f379f809d9..0a1a6047d11 100644
--- a/src/microsoft/vulkan/dzn_cmd_buffer.cpp
+++ b/src/microsoft/vulkan/dzn_cmd_buffer.cpp
@@ -305,7 +305,7 @@ dzn_ResetCommandBuffer(VkCommandBuffer commandBuffer,
    return dzn_cmd_buffer_reset(cmdbuf);
 }
 
-VkResult
+VKAPI_ATTR VkResult VKAPI_CALL
 dzn_BeginCommandBuffer(VkCommandBuffer commandBuffer,
                        const VkCommandBufferBeginInfo *info)
 {



More information about the mesa-commit mailing list