1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-03 13:24:20 +01:00

[dxgi] add support for B4G4R4A4 color format

This commit is contained in:
Clément Guérin 2018-02-22 23:22:40 -08:00
parent ced02ba061
commit c80488428e

View File

@ -335,6 +335,8 @@ namespace dxvk {
// AddColorFormat(DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM, VK_FORMAT_UNDEFINED);
AddColorFormat (DXGI_FORMAT_B4G4R4A4_UNORM, VK_FORMAT_B4G4R4A4_UNORM_PACK16);
/***********************************************************************************/
/* B L O C K F O R M A T S */
AddColorFormatTypeless(DXGI_FORMAT_BC1_TYPELESS, VK_FORMAT_BC1_RGBA_UNORM_BLOCK);