nvk: allow 3d compressed textures
Fixes KHR-GL45.packed_pixels.varied_rectangle.compressed_* Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26990>
This commit is contained in:
@@ -224,10 +224,6 @@ nvk_GetPhysicalDeviceImageFormatProperties2(
|
||||
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)
|
||||
return VK_ERROR_FORMAT_NOT_SUPPORTED;
|
||||
|
||||
if (ycbcr_info && pImageFormatInfo->type != VK_IMAGE_TYPE_2D)
|
||||
return VK_ERROR_FORMAT_NOT_SUPPORTED;
|
||||
|
||||
|
Reference in New Issue
Block a user