mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-02 01:47:41 +00:00
vulkan: VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16 is a 2-plane format
This commit is contained in:
parent
2bedd7f02e
commit
2bc2840de5
1 changed files with 1 additions and 0 deletions
|
@ -379,6 +379,7 @@ Uint32 VULKAN_VkFormatGetNumPlanes(VkFormat vkFormat)
|
|||
case VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM:
|
||||
return 3;
|
||||
case VK_FORMAT_G8_B8R8_2PLANE_420_UNORM:
|
||||
case VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16:
|
||||
return 2;
|
||||
default:
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue