Add registers and gal enums
This commit is contained in:
parent
0fe651cc2f
commit
a11293b793
3 changed files with 91 additions and 0 deletions
68
Ryujinx.Graphics/Gal/GalFrameBufferFormat.cs
Normal file
68
Ryujinx.Graphics/Gal/GalFrameBufferFormat.cs
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
namespace Ryujinx.Graphics.Gal
|
||||||
|
{
|
||||||
|
public enum GalFrameBufferFormat
|
||||||
|
{
|
||||||
|
Bitmap = 0x1c,
|
||||||
|
Unknown1D = 0x1d,
|
||||||
|
RGBA32Float = 0xc0,
|
||||||
|
RGBA32Sint = 0xc1,
|
||||||
|
RGBA32Uint = 0xc2,
|
||||||
|
RGBX32Float = 0xc3,
|
||||||
|
RGBX32Sint = 0xc4,
|
||||||
|
RGBX32Uint = 0xc5,
|
||||||
|
RGBA16Unorm = 0xc6,
|
||||||
|
RGBA16Snorm = 0xc7,
|
||||||
|
RGBA16Sint = 0xc8,
|
||||||
|
RGBA16Uint = 0xc9,
|
||||||
|
RGBA16Float = 0xca,
|
||||||
|
RG32Float = 0xcb,
|
||||||
|
RG32Sint = 0xcc,
|
||||||
|
RG32Uint = 0xcd,
|
||||||
|
RGBX16Float = 0xce,
|
||||||
|
BGRA8Unorm = 0x0cf,
|
||||||
|
BGRA8Srgb = 0xd0,
|
||||||
|
RGB10A2Unorm = 0xd1,
|
||||||
|
RGB10A2Uint = 0xd2,
|
||||||
|
RGBA8Unorm = 0xd5,
|
||||||
|
RGBA8Srgb = 0xd6,
|
||||||
|
RGBA8Snorm = 0xd7,
|
||||||
|
RGBA8Sint = 0xd8,
|
||||||
|
RGBA8Uint = 0xd9,
|
||||||
|
RG16Unorm = 0xda,
|
||||||
|
RG16Snorm = 0xdb,
|
||||||
|
RG16Sint = 0xdc,
|
||||||
|
RG16Uint = 0xdd,
|
||||||
|
RG16Float = 0xde,
|
||||||
|
BGR10A2Unorm = 0xdf,
|
||||||
|
R11G11B10Float = 0xe0,
|
||||||
|
R32Sint = 0xe3,
|
||||||
|
R32Uint = 0xe4,
|
||||||
|
R32Float = 0xe5,
|
||||||
|
BGRX8Unorm = 0xe6,
|
||||||
|
BGRX8Srgb = 0xe7,
|
||||||
|
B5G6R5Unorm = 0xe8,
|
||||||
|
BGR5A1Unorm = 0xe9,
|
||||||
|
RG8Unorm = 0xea,
|
||||||
|
RG8Snorm = 0xeb,
|
||||||
|
RG8Sint = 0xec,
|
||||||
|
RG8Uint = 0xed,
|
||||||
|
R16Unorm = 0xee,
|
||||||
|
R16Snorm = 0xef,
|
||||||
|
R16Sint = 0xf0,
|
||||||
|
R16Uint = 0xf1,
|
||||||
|
R16Float = 0xf2,
|
||||||
|
R8Unorm = 0xf3,
|
||||||
|
R8Snorm = 0xf4,
|
||||||
|
R8Sint = 0xf5,
|
||||||
|
R8Uint = 0xf6,
|
||||||
|
A8Unorm = 0xf7,
|
||||||
|
BGR5X1Unorm = 0xf8,
|
||||||
|
RGBX8Unorm = 0xf9,
|
||||||
|
RGBX8Srgb = 0xfa,
|
||||||
|
BGR5X1UnormUnknownFB = 0xfb,
|
||||||
|
BGR5X1UnormUnknownFC = 0xfc,
|
||||||
|
BGRX8UnormUnknownFD = 0xfd,
|
||||||
|
BGRX8UnormUnknownFE = 0xfe,
|
||||||
|
Y32UintUnknownFF = 0xff
|
||||||
|
}
|
||||||
|
}
|
16
Ryujinx.Graphics/Gal/GalZetaFormat.cs
Normal file
16
Ryujinx.Graphics/Gal/GalZetaFormat.cs
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
namespace Ryujinx.Graphics.Gal
|
||||||
|
{
|
||||||
|
public enum GalZetaFormat
|
||||||
|
{
|
||||||
|
Z32Float = 0x0a,
|
||||||
|
Z16Unorm = 0x13,
|
||||||
|
S8Z24Unorm = 0x14,
|
||||||
|
Z24X8Unorm = 0x15,
|
||||||
|
Z24S8Unorm = 0x16,
|
||||||
|
Z24C8Unorm = 0x18,
|
||||||
|
Z32S8X24Float = 0x19,
|
||||||
|
Z24X8S8C8X16Unorm = 0x1d,
|
||||||
|
Z32X8C8X16Float = 0x1e,
|
||||||
|
Z32S8C8X16Float = 0x1f
|
||||||
|
}
|
||||||
|
}
|
|
@ -22,7 +22,14 @@ namespace Ryujinx.HLE.Gpu.Engines
|
||||||
StencilBackFuncRef = 0x3d5,
|
StencilBackFuncRef = 0x3d5,
|
||||||
StencilBackMask = 0x3d6,
|
StencilBackMask = 0x3d6,
|
||||||
StencilBackFuncMask = 0x3d7,
|
StencilBackFuncMask = 0x3d7,
|
||||||
|
ZetaAddress = 0x3f8,
|
||||||
|
ZetaFormat = 0x3fa,
|
||||||
|
ZetaBlockDimensions = 0x3fb,
|
||||||
|
ZetaLayerStride = 0x3fc,
|
||||||
VertexAttribNFormat = 0x458,
|
VertexAttribNFormat = 0x458,
|
||||||
|
ZetaHoriz = 0x48a,
|
||||||
|
ZetaVert = 0x48b,
|
||||||
|
ZetaArrayMode = 0x48c,
|
||||||
DepthTestEnable = 0x4b3,
|
DepthTestEnable = 0x4b3,
|
||||||
IBlendEnable = 0x4b9,
|
IBlendEnable = 0x4b9,
|
||||||
DepthTestFunction = 0x4c3,
|
DepthTestFunction = 0x4c3,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue