VulkanHostDisplay: Support 16-bit scanout
This commit is contained in:
1 parent
131dc923ed
commit
497759b4d6
2 files changed
+3
-1
No files matched your search
@@ -83,6 +83,8 @@ u32 GetTexelSize(VkFormat format)
|
||||
|
||||
case VK_FORMAT_R5G5B5A1_UNORM_PACK16:
|
||||
case VK_FORMAT_A1R5G5B5_UNORM_PACK16:
|
||||
case VK_FORMAT_R5G6B5_UNORM_PACK16:
|
||||
case VK_FORMAT_B5G6R5_UNORM_PACK16:
|
||||
return 2;
|
||||
|
||||
case VK_FORMAT_BC1_RGBA_UNORM_BLOCK:
|
||||
|
||||
Reference in new issue
Block a user