vulkan: VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16 is a 2-plane format

main
Sam Lantinga 2024-03-01 20:23:20 -08:00
parent 2bedd7f02e
commit 2bc2840de5
1 changed files with 1 additions and 0 deletions

View File

@ -379,6 +379,7 @@ Uint32 VULKAN_VkFormatGetNumPlanes(VkFormat vkFormat)
case VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM: case VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM:
return 3; return 3;
case VK_FORMAT_G8_B8R8_2PLANE_420_UNORM: case VK_FORMAT_G8_B8R8_2PLANE_420_UNORM:
case VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16:
return 2; return 2;
default: default:
return 1; return 1;