aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/NvGpuEngineM2mfReg.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-09-18 01:30:35 -0300
committerGitHub <noreply@github.com>2018-09-18 01:30:35 -0300
commitd4187aaa9d7194aa26d04aee838edbc3a38f1862 (patch)
tree06fe725c1067b4aeca21749799b835d85e7d2787 /Ryujinx.Graphics/NvGpuEngineM2mfReg.cs
parentbec95cacc1061f91373a1e3a1411981af7fe2e4e (diff)
Allow "reinterpretation" of framebuffer/zeta formats (#418)
* (Re)Implement format reinterpretation, other changes * Implement writeback to guest memory, some refactoring * More refactoring, implement reinterpretation the old way again * Clean up * Some fixes on M2MF (old Dma engine), added partial support for P2MF, fix conditional ssy, add Z24S8 zeta format, other fixes * nit: Formatting * Address PR feedback
Diffstat (limited to 'Ryujinx.Graphics/NvGpuEngineM2mfReg.cs')
-rw-r--r--Ryujinx.Graphics/NvGpuEngineM2mfReg.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/Ryujinx.Graphics/NvGpuEngineM2mfReg.cs b/Ryujinx.Graphics/NvGpuEngineM2mfReg.cs
new file mode 100644
index 00000000..170e0b7b
--- /dev/null
+++ b/Ryujinx.Graphics/NvGpuEngineM2mfReg.cs
@@ -0,0 +1,25 @@
+namespace Ryujinx.Graphics
+{
+ enum NvGpuEngineM2mfReg
+ {
+ SrcAddress = 0x100,
+ DstAddress = 0x102,
+ SrcPitch = 0x104,
+ DstPitch = 0x105,
+ XCount = 0x106,
+ YCount = 0x107,
+ Swizzle = 0x1c2,
+ DstBlkDim = 0x1c3,
+ DstSizeX = 0x1c4,
+ DstSizeY = 0x1c5,
+ DstSizeZ = 0x1c6,
+ DstPosZ = 0x1c7,
+ DstPosXY = 0x1c8,
+ SrcBlkDim = 0x1ca,
+ SrcSizeX = 0x1cb,
+ SrcSizeY = 0x1cc,
+ SrcSizeZ = 0x1cd,
+ SrcPosZ = 0x1ce,
+ SrcPosXY = 0x1cf
+ }
+} \ No newline at end of file