From 9ddf647eabebd2e346c2bcb5e68e198ecca650ac Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Tue, 30 Jan 2024 17:12:55 -0600 Subject: [PATCH] nvk: Fix whitespace in nvk_image.c Part-of: --- src/nouveau/vulkan/nvk_image.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/nouveau/vulkan/nvk_image.c b/src/nouveau/vulkan/nvk_image.c index 7e24dd33412..13e5594159b 100644 --- a/src/nouveau/vulkan/nvk_image.c +++ b/src/nouveau/vulkan/nvk_image.c @@ -219,11 +219,10 @@ nvk_GetPhysicalDeviceImageFormatProperties2( } if (features == 0) return VK_ERROR_FORMAT_NOT_SUPPORTED; - - if (pImageFormatInfo->tiling == VK_IMAGE_TILING_LINEAR && + + if (pImageFormatInfo->tiling == VK_IMAGE_TILING_LINEAR && pImageFormatInfo->type != VK_IMAGE_TYPE_2D) return VK_ERROR_FORMAT_NOT_SUPPORTED; - if (vk_format_is_compressed(pImageFormatInfo->format) && pImageFormatInfo->type != VK_IMAGE_TYPE_2D)