Mesa (main): lavapipe: use consistent semaphore variable naming
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jul 29 00:15:31 UTC 2021
Module: Mesa
Branch: main
Commit: 326253786e0b96940b90243bc732f10e49871a42
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=326253786e0b96940b90243bc732f10e49871a42
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Fri Jul 23 10:44:54 2021 -0400
lavapipe: use consistent semaphore variable naming
Reviewed-by: Dave Airlie <airlied at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12071>
---
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 2c40042fb92..1883cb59866 100644
--- a/src/gallium/frontends/lavapipe/lvp_device.c
+++ b/src/gallium/frontends/lavapipe/lvp_device.c
@@ -1920,12 +1920,12 @@ VKAPI_ATTR void VKAPI_CALL lvp_DestroySemaphore(
const VkAllocationCallbacks* pAllocator)
{
LVP_FROM_HANDLE(lvp_device, device, _device);
- LVP_FROM_HANDLE(lvp_semaphore, semaphore, _semaphore);
+ LVP_FROM_HANDLE(lvp_semaphore, sema, _semaphore);
if (!_semaphore)
return;
- vk_object_base_finish(&semaphore->base);
- vk_free2(&device->vk.alloc, pAllocator, semaphore);
+ vk_object_base_finish(&sema->base);
+ vk_free2(&device->vk.alloc, pAllocator, sema);
}
VKAPI_ATTR VkResult VKAPI_CALL lvp_CreateEvent(
More information about the mesa-commit
mailing list