From e0d445c28d6e315cfde103cb0aea24218f219510 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Mon, 30 Jan 2023 20:11:49 -0600 Subject: [PATCH] nvk/image_view: Reformat and fix Create/DestroyImageView Part-of: --- src/nouveau/vulkan/nvk_image_view.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/nouveau/vulkan/nvk_image_view.c b/src/nouveau/vulkan/nvk_image_view.c index 914f4c93d24..1abc6be7d2d 100644 --- a/src/nouveau/vulkan/nvk_image_view.c +++ b/src/nouveau/vulkan/nvk_image_view.c @@ -3,10 +3,11 @@ #include "nvk_device.h" #include "nvk_image.h" -VKAPI_ATTR VkResult VKAPI_CALL nvk_CreateImageView(VkDevice _device, - const VkImageViewCreateInfo *pCreateInfo, - const VkAllocationCallbacks *pAllocator, - VkImageView *pView) +VKAPI_ATTR VkResult VKAPI_CALL +nvk_CreateImageView(VkDevice _device, + const VkImageViewCreateInfo *pCreateInfo, + const VkAllocationCallbacks *pAllocator, + VkImageView *pView) { VK_FROM_HANDLE(nvk_device, device, _device); struct nvk_image_view *view; @@ -20,9 +21,10 @@ VKAPI_ATTR VkResult VKAPI_CALL nvk_CreateImageView(VkDevice _device, return VK_SUCCESS; } -VKAPI_ATTR void VKAPI_CALL vkDestroyImageView(VkDevice _device, - VkImageView imageView, - const VkAllocationCallbacks *pAllocator) +VKAPI_ATTR void VKAPI_CALL +nvk_DestroyImageView(VkDevice _device, + VkImageView imageView, + const VkAllocationCallbacks *pAllocator) { VK_FROM_HANDLE(nvk_device, device, _device); VK_FROM_HANDLE(nvk_image_view, view, imageView);