mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +02:00
nvk: Fix whitespace in nvk_image.c
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26990>
This commit is contained in:
parent
e8bec58de0
commit
9ddf647eab
1 changed files with 2 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue