nvk: Fix whitespace in nvk_image.c
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26990>
This commit is contained in:

committed by
Marge Bot

parent
e8bec58de0
commit
9ddf647eab
@@ -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)
|
||||
|
Reference in New Issue
Block a user