2018-09-08 13:51:50 -04:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.Graphics.Gal
|
2018-08-19 21:25:26 -04:00
|
|
|
|
{
|
2018-09-08 13:51:50 -04:00
|
|
|
|
[Flags]
|
2018-08-19 21:25:26 -04:00
|
|
|
|
public enum GalImageFormat
|
|
|
|
|
{
|
2018-10-17 17:02:23 -04:00
|
|
|
|
Astc2DStart,
|
|
|
|
|
Astc2D4x4,
|
|
|
|
|
Astc2D5x4,
|
|
|
|
|
Astc2D5x5,
|
|
|
|
|
Astc2D6x5,
|
|
|
|
|
Astc2D6x6,
|
|
|
|
|
Astc2D8x5,
|
|
|
|
|
Astc2D8x6,
|
|
|
|
|
Astc2D8x8,
|
|
|
|
|
Astc2D10x5,
|
|
|
|
|
Astc2D10x6,
|
|
|
|
|
Astc2D10x8,
|
|
|
|
|
Astc2D10x10,
|
|
|
|
|
Astc2D12x10,
|
|
|
|
|
Astc2D12x12,
|
|
|
|
|
Astc2DEnd,
|
2018-08-19 21:25:26 -04:00
|
|
|
|
|
2018-10-17 17:02:23 -04:00
|
|
|
|
RGBA4,
|
|
|
|
|
RGB565,
|
2019-01-05 16:26:16 -05:00
|
|
|
|
BGR565,
|
2018-10-17 17:02:23 -04:00
|
|
|
|
BGR5A1,
|
|
|
|
|
RGB5A1,
|
2018-09-08 13:51:50 -04:00
|
|
|
|
R8,
|
2018-10-17 17:02:23 -04:00
|
|
|
|
RG8,
|
2018-11-16 23:01:31 -05:00
|
|
|
|
RGBX8,
|
2018-10-17 17:02:23 -04:00
|
|
|
|
RGBA8,
|
|
|
|
|
BGRA8,
|
|
|
|
|
RGB10A2,
|
2018-09-08 13:51:50 -04:00
|
|
|
|
R16,
|
2018-10-17 17:02:23 -04:00
|
|
|
|
RG16,
|
|
|
|
|
RGBA16,
|
2018-09-08 13:51:50 -04:00
|
|
|
|
R32,
|
2018-10-17 17:02:23 -04:00
|
|
|
|
RG32,
|
|
|
|
|
RGBA32,
|
|
|
|
|
R11G11B10,
|
2018-09-08 13:51:50 -04:00
|
|
|
|
D16,
|
2018-11-16 23:01:31 -05:00
|
|
|
|
D24,
|
2018-09-08 13:51:50 -04:00
|
|
|
|
D32,
|
2018-10-17 17:02:23 -04:00
|
|
|
|
D24S8,
|
|
|
|
|
D32S8,
|
|
|
|
|
BC1,
|
2018-09-08 13:51:50 -04:00
|
|
|
|
BC2,
|
|
|
|
|
BC3,
|
|
|
|
|
BC4,
|
|
|
|
|
BC5,
|
2018-10-17 17:02:23 -04:00
|
|
|
|
BptcSfloat,
|
|
|
|
|
BptcUfloat,
|
|
|
|
|
BptcUnorm,
|
|
|
|
|
|
|
|
|
|
Snorm = 1 << 26,
|
|
|
|
|
Unorm = 1 << 27,
|
|
|
|
|
Sint = 1 << 28,
|
|
|
|
|
Uint = 1 << 39,
|
|
|
|
|
Float = 1 << 30,
|
|
|
|
|
Srgb = 1 << 31,
|
|
|
|
|
|
|
|
|
|
TypeMask = Snorm | Unorm | Sint | Uint | Float | Srgb,
|
|
|
|
|
|
|
|
|
|
FormatMask = ~TypeMask
|
2018-08-19 21:25:26 -04:00
|
|
|
|
}
|
|
|
|
|
}
|