1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-02-20 19:54:19 +01:00

[d3d9] Clean up supported formats from GetUnsupportedFormatInfo

This commit is contained in:
WinterSnowfall 2024-08-30 23:43:26 +03:00 committed by Robin Kertels
parent 7985ac9cdb
commit 97fb6e4f6d

View File

@ -509,9 +509,6 @@ namespace dxvk {
static const DxvkFormatInfo a8r3g3b2 = { 2, VK_IMAGE_ASPECT_COLOR_BIT };
static const DxvkFormatInfo a8p8 = { 2, VK_IMAGE_ASPECT_COLOR_BIT };
static const DxvkFormatInfo p8 = { 1, VK_IMAGE_ASPECT_COLOR_BIT };
static const DxvkFormatInfo l6v5u5 = { 2, VK_IMAGE_ASPECT_COLOR_BIT };
static const DxvkFormatInfo x8l8v8u8 = { 4, VK_IMAGE_ASPECT_COLOR_BIT };
static const DxvkFormatInfo a2w10v10u10 = { 4, VK_IMAGE_ASPECT_COLOR_BIT };
static const DxvkFormatInfo cxv8u8 = { 2, VK_IMAGE_ASPECT_COLOR_BIT };
static const DxvkFormatInfo unknown = {};
@ -531,15 +528,6 @@ namespace dxvk {
case D3D9Format::P8:
return &p8;
case D3D9Format::L6V5U5:
return &l6v5u5;
case D3D9Format::X8L8V8U8:
return &x8l8v8u8;
case D3D9Format::A2W10V10U10:
return &a2w10v10u10;
// MULTI2_ARGB8 -> Don't have a clue what this is.
case D3D9Format::CxV8U8: