forked from ShuriZma/suyu
video_core/surface: Remove explicit values on PixelFormat's definition
This commit is contained in:
parent
143662118c
commit
505c206eb8
|
@ -15,94 +15,94 @@
|
||||||
namespace VideoCore::Surface {
|
namespace VideoCore::Surface {
|
||||||
|
|
||||||
enum class PixelFormat {
|
enum class PixelFormat {
|
||||||
ABGR8U = 0,
|
ABGR8U,
|
||||||
ABGR8S = 1,
|
ABGR8S,
|
||||||
ABGR8UI = 2,
|
ABGR8UI,
|
||||||
B5G6R5U = 3,
|
B5G6R5U,
|
||||||
A2B10G10R10U = 4,
|
A2B10G10R10U,
|
||||||
A1B5G5R5U = 5,
|
A1B5G5R5U,
|
||||||
R8U = 6,
|
R8U,
|
||||||
R8UI = 7,
|
R8UI,
|
||||||
RGBA16F = 8,
|
RGBA16F,
|
||||||
RGBA16U = 9,
|
RGBA16U,
|
||||||
RGBA16S = 10,
|
RGBA16S,
|
||||||
RGBA16UI = 11,
|
RGBA16UI,
|
||||||
R11FG11FB10F = 12,
|
R11FG11FB10F,
|
||||||
RGBA32UI = 13,
|
RGBA32UI,
|
||||||
DXT1 = 14,
|
DXT1,
|
||||||
DXT23 = 15,
|
DXT23,
|
||||||
DXT45 = 16,
|
DXT45,
|
||||||
DXN1 = 17, // This is also known as BC4
|
DXN1, // This is also known as BC4
|
||||||
DXN2UNORM = 18,
|
DXN2UNORM,
|
||||||
DXN2SNORM = 19,
|
DXN2SNORM,
|
||||||
BC7U = 20,
|
BC7U,
|
||||||
BC6H_UF16 = 21,
|
BC6H_UF16,
|
||||||
BC6H_SF16 = 22,
|
BC6H_SF16,
|
||||||
ASTC_2D_4X4 = 23,
|
ASTC_2D_4X4,
|
||||||
BGRA8 = 24,
|
BGRA8,
|
||||||
RGBA32F = 25,
|
RGBA32F,
|
||||||
RG32F = 26,
|
RG32F,
|
||||||
R32F = 27,
|
R32F,
|
||||||
R16F = 28,
|
R16F,
|
||||||
R16U = 29,
|
R16U,
|
||||||
R16S = 30,
|
R16S,
|
||||||
R16UI = 31,
|
R16UI,
|
||||||
R16I = 32,
|
R16I,
|
||||||
RG16 = 33,
|
RG16,
|
||||||
RG16F = 34,
|
RG16F,
|
||||||
RG16UI = 35,
|
RG16UI,
|
||||||
RG16I = 36,
|
RG16I,
|
||||||
RG16S = 37,
|
RG16S,
|
||||||
RGB32F = 38,
|
RGB32F,
|
||||||
RGBA8_SRGB = 39,
|
RGBA8_SRGB,
|
||||||
RG8U = 40,
|
RG8U,
|
||||||
RG8S = 41,
|
RG8S,
|
||||||
RG8UI = 42,
|
RG8UI,
|
||||||
RG32UI = 43,
|
RG32UI,
|
||||||
RGBX16F = 44,
|
RGBX16F,
|
||||||
R32UI = 45,
|
R32UI,
|
||||||
R32I = 46,
|
R32I,
|
||||||
ASTC_2D_8X8 = 47,
|
ASTC_2D_8X8,
|
||||||
ASTC_2D_8X5 = 48,
|
ASTC_2D_8X5,
|
||||||
ASTC_2D_5X4 = 49,
|
ASTC_2D_5X4,
|
||||||
BGRA8_SRGB = 50,
|
BGRA8_SRGB,
|
||||||
DXT1_SRGB = 51,
|
DXT1_SRGB,
|
||||||
DXT23_SRGB = 52,
|
DXT23_SRGB,
|
||||||
DXT45_SRGB = 53,
|
DXT45_SRGB,
|
||||||
BC7U_SRGB = 54,
|
BC7U_SRGB,
|
||||||
R4G4B4A4U = 55,
|
R4G4B4A4U,
|
||||||
ASTC_2D_4X4_SRGB = 56,
|
ASTC_2D_4X4_SRGB,
|
||||||
ASTC_2D_8X8_SRGB = 57,
|
ASTC_2D_8X8_SRGB,
|
||||||
ASTC_2D_8X5_SRGB = 58,
|
ASTC_2D_8X5_SRGB,
|
||||||
ASTC_2D_5X4_SRGB = 59,
|
ASTC_2D_5X4_SRGB,
|
||||||
ASTC_2D_5X5 = 60,
|
ASTC_2D_5X5,
|
||||||
ASTC_2D_5X5_SRGB = 61,
|
ASTC_2D_5X5_SRGB,
|
||||||
ASTC_2D_10X8 = 62,
|
ASTC_2D_10X8,
|
||||||
ASTC_2D_10X8_SRGB = 63,
|
ASTC_2D_10X8_SRGB,
|
||||||
ASTC_2D_6X6 = 64,
|
ASTC_2D_6X6,
|
||||||
ASTC_2D_6X6_SRGB = 65,
|
ASTC_2D_6X6_SRGB,
|
||||||
ASTC_2D_10X10 = 66,
|
ASTC_2D_10X10,
|
||||||
ASTC_2D_10X10_SRGB = 67,
|
ASTC_2D_10X10_SRGB,
|
||||||
ASTC_2D_12X12 = 68,
|
ASTC_2D_12X12,
|
||||||
ASTC_2D_12X12_SRGB = 69,
|
ASTC_2D_12X12_SRGB,
|
||||||
ASTC_2D_8X6 = 70,
|
ASTC_2D_8X6,
|
||||||
ASTC_2D_8X6_SRGB = 71,
|
ASTC_2D_8X6_SRGB,
|
||||||
ASTC_2D_6X5 = 72,
|
ASTC_2D_6X5,
|
||||||
ASTC_2D_6X5_SRGB = 73,
|
ASTC_2D_6X5_SRGB,
|
||||||
E5B9G9R9F = 74,
|
E5B9G9R9F,
|
||||||
|
|
||||||
MaxColorFormat,
|
MaxColorFormat,
|
||||||
|
|
||||||
// Depth formats
|
// Depth formats
|
||||||
Z32F = 75,
|
Z32F = MaxColorFormat,
|
||||||
Z16 = 76,
|
Z16,
|
||||||
|
|
||||||
MaxDepthFormat,
|
MaxDepthFormat,
|
||||||
|
|
||||||
// DepthStencil formats
|
// DepthStencil formats
|
||||||
Z24S8 = 77,
|
Z24S8 = MaxDepthFormat,
|
||||||
S8Z24 = 78,
|
S8Z24,
|
||||||
Z32FS8 = 79,
|
Z32FS8,
|
||||||
|
|
||||||
MaxDepthStencilFormat,
|
MaxDepthStencilFormat,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue