mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Video: add R10B10G10A2 and R16G16B16A16F texture types (needed by PR 11850)
This commit is contained in:
@ -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