aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/NvGpuEngineP2mfReg.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/NvGpuEngineP2mfReg.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/NvGpuEngineP2mfReg.cs')
-rw-r--r--Ryujinx.Graphics/NvGpuEngineP2mfReg.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/Ryujinx.Graphics/NvGpuEngineP2mfReg.cs b/Ryujinx.Graphics/NvGpuEngineP2mfReg.cs
new file mode 100644
index 00000000..803ed299
--- /dev/null
+++ b/Ryujinx.Graphics/NvGpuEngineP2mfReg.cs
@@ -0,0 +1,17 @@
+namespace Ryujinx.Graphics
+{
+ enum NvGpuEngineP2mfReg
+ {
+ LineLengthIn = 0x60,
+ LineCount = 0x61,
+ DstAddress = 0x62,
+ DstPitch = 0x64,
+ DstBlockDim = 0x65,
+ DstWidth = 0x66,
+ DstHeight = 0x67,
+ DstDepth = 0x68,
+ DstZ = 0x69,
+ DstX = 0x6a,
+ DstY = 0x6b
+ }
+} \ No newline at end of file