2019-07-01 19:39:22 -07:00
|
|
|
|
// ReSharper disable InconsistentNaming
|
|
|
|
|
using System;
|
2018-09-08 10:51:50 -07:00
|
|
|
|
|
|
|
|
|
namespace Ryujinx.Graphics.Gal
|
2018-08-19 18:25:26 -07:00
|
|
|
|
{
|
2018-09-08 10:51:50 -07:00
|
|
|
|
[Flags]
|
2018-08-19 18:25:26 -07:00
|
|
|
|
public enum GalImageFormat
|
|
|
|
|
{
|
2018-10-17 14:02:23 -07:00
|
|
|
|
Astc2DStart,
|
|
|
|
|
Astc2D4x4,
|
|
|
|
|
Astc2D5x4,
|
|
|
|
|
Astc2D5x5,
|
|
|
|
|
Astc2D6x5,
|
|
|
|
|
Astc2D6x6,
|
|
|
|
|
Astc2D8x5,
|
|
|
|
|
Astc2D8x6,
|
|
|
|
|
Astc2D8x8,
|
|
|
|
|
Astc2D10x5,
|
|
|
|
|
Astc2D10x6,
|
|
|
|
|
Astc2D10x8,
|
|
|
|
|
Astc2D10x10,
|
|
|
|
|
Astc2D12x10,
|
|
|
|
|
Astc2D12x12,
|
|
|
|
|
Astc2DEnd,
|
2018-08-19 18:25:26 -07:00
|
|
|
|
|
2019-03-03 17:45:25 -08:00
|
|
|
|
Rgba4,
|
|
|
|
|
Rgb565,
|
|
|
|
|
Bgr565,
|
|
|
|
|
Bgr5A1,
|
|
|
|
|
Rgb5A1,
|
2018-09-08 10:51:50 -07:00
|
|
|
|
R8,
|
2019-03-03 17:45:25 -08:00
|
|
|
|
Rg8,
|
|
|
|
|
Rgbx8,
|
|
|
|
|
Rgba8,
|
|
|
|
|
Bgra8,
|
|
|
|
|
Rgb10A2,
|
2018-09-08 10:51:50 -07:00
|
|
|
|
R16,
|
2019-03-03 17:45:25 -08:00
|
|
|
|
Rg16,
|
|
|
|
|
Rgba16,
|
2018-09-08 10:51:50 -07:00
|
|
|
|
R32,
|
2019-03-03 17:45:25 -08:00
|
|
|
|
Rg32,
|
|
|
|
|
Rgba32,
|
2018-10-17 14:02:23 -07:00
|
|
|
|
R11G11B10,
|
2018-09-08 10:51:50 -07:00
|
|
|
|
D16,
|
2018-11-16 20:01:31 -08:00
|
|
|
|
D24,
|
2018-09-08 10:51:50 -07:00
|
|
|
|
D32,
|
2018-10-17 14:02:23 -07:00
|
|
|
|
D24S8,
|
|
|
|
|
D32S8,
|
|
|
|
|
BC1,
|
2018-09-08 10:51:50 -07:00
|
|
|
|
BC2,
|
|
|
|
|
BC3,
|
|
|
|
|
BC4,
|
|
|
|
|
BC5,
|
2018-10-17 14:02:23 -07: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 18:25:26 -07:00
|
|
|
|
}
|
|
|
|
|
}
|