nvk: Fix whitespace in nvk_image.c

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26990>
This commit is contained in:
Faith Ekstrand
2024-01-30 17:12:55 -06:00
committed by Marge Bot
parent e8bec58de0
commit 9ddf647eab

View File

@@ -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)