Video: add R10B10G10A2 and R16G16B16A16F texture types (needed by PR 11850)
This commit is contained in:
1 parent
6743ca8e09
commit
cdc53c046b
8 files changed
+54
No files matched your search
@@ -189,6 +189,12 @@ VkFormat VKTexture::GetVkFormatForHostTextureFormat(AbstractTextureFormat format
|
||||
case AbstractTextureFormat::BGRA8:
|
||||
return VK_FORMAT_B8G8R8A8_UNORM;
|
||||
|
||||
case AbstractTextureFormat::RGB10_A2:
|
||||
return VK_FORMAT_A2R10G10B10_UNORM_PACK32;
|
||||
|
||||
case AbstractTextureFormat::RGBA16F:
|
||||
return VK_FORMAT_R16G16B16A16_SFLOAT;
|
||||
|
||||
case AbstractTextureFormat::R16:
|
||||
return VK_FORMAT_R16_UNORM;
|
||||
|
||||
|
||||
Reference in new issue
Block a user