lavapipe: use consistent semaphore variable naming
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fri, 23 Jul 2021 14:44:54 +0000 (10:44 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 29 Jul 2021 00:06:10 +0000 (00:06 +0000)
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12071>

src/gallium/frontends/lavapipe/lvp_device.c

index 2c40042..1883cb5 100644 (file)
@@ -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(