Mesa (main): lavapipe: Fix 32bits windows build

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Aug 2 18:12:19 UTC 2021


Module: Mesa
Branch: main
Commit: 48980b7b7a9f03da5ce33ac4c4de9fd33c7cfced
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=48980b7b7a9f03da5ce33ac4c4de9fd33c7cfced

Author: xantares <xantares09 at hotmail.com>
Date:   Mon Aug  2 10:13:46 2021 +0000

lavapipe: Fix 32bits windows build

Fixes: 94a49828
Closes #5161

Acked-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12165>

---

 src/gallium/frontends/lavapipe/lvp_device.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c
index 22924a55901..42329c8f4a2 100644
--- a/src/gallium/frontends/lavapipe/lvp_device.c
+++ b/src/gallium/frontends/lavapipe/lvp_device.c
@@ -2200,7 +2200,7 @@ VKAPI_ATTR void VKAPI_CALL lvp_DestroySemaphore(
    vk_free2(&device->vk.alloc, pAllocator, sema);
 }
 
-VKAPI_ATTR VkResult lvp_WaitSemaphores(
+VKAPI_ATTR VkResult VKAPI_CALL lvp_WaitSemaphores(
     VkDevice                                    _device,
     const VkSemaphoreWaitInfo*                  pWaitInfo,
     uint64_t                                    timeout)
@@ -2210,7 +2210,7 @@ VKAPI_ATTR VkResult lvp_WaitSemaphores(
    return wait_semaphores(device, pWaitInfo, timeout);
 }
 
-VKAPI_ATTR VkResult lvp_GetSemaphoreCounterValue(
+VKAPI_ATTR VkResult VKAPI_CALL lvp_GetSemaphoreCounterValue(
     VkDevice                                    _device,
     VkSemaphore                                 _semaphore,
     uint64_t*                                   pValue)
@@ -2224,7 +2224,7 @@ VKAPI_ATTR VkResult lvp_GetSemaphoreCounterValue(
    return VK_SUCCESS;
 }
 
-VKAPI_ATTR VkResult lvp_SignalSemaphore(
+VKAPI_ATTR VkResult VKAPI_CALL lvp_SignalSemaphore(
     VkDevice                                    _device,
     const VkSemaphoreSignalInfo*                pSignalInfo)
 {



More information about the mesa-commit mailing list