aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/NvGpuEngineDmaReg.cs
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2018-09-08 14:51:50 -0300
committergdkchan <gab.dark.100@gmail.com>2018-09-08 14:51:50 -0300
commitce1d5be212e6f71a7ca32c3bd7b48e32d9f51b9a (patch)
tree759fe422127ce08c545d4616ccc9691f668032ec /Ryujinx.Graphics/NvGpuEngineDmaReg.cs
parenta0c78f792012cdea060444d7cb6a36dbabb04d52 (diff)
Move GPU emulation from Ryujinx.HLE to Ryujinx.Graphics and misc changes (#402)
* Move GPU LLE emulation from HLE to Graphics * Graphics: Move Gal/Texture to Texture * Remove Engines/ directory and namespace * Use tables for image formats * Abstract OpCode decoding * Simplify image table * Do not leak Read* symbols in TextureReader * Fixups * Rename IGalFrameBuffer -> IGalRenderTarget * Remove MaxBpp hardcoded value * Change yet again texture data and add G8R8 flipping * Rename GalFrameBufferFormat to GalSurfaceFormat * Unident EnsureSetup in ImageHandler * Add IsCompressed * Address some feedback
Diffstat (limited to 'Ryujinx.Graphics/NvGpuEngineDmaReg.cs')
-rw-r--r--Ryujinx.Graphics/NvGpuEngineDmaReg.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/Ryujinx.Graphics/NvGpuEngineDmaReg.cs b/Ryujinx.Graphics/NvGpuEngineDmaReg.cs
new file mode 100644
index 00000000..b0fa1fbf
--- /dev/null
+++ b/Ryujinx.Graphics/NvGpuEngineDmaReg.cs
@@ -0,0 +1,22 @@
+namespace Ryujinx.Graphics
+{
+ enum NvGpuEngineDmaReg
+ {
+ SrcAddress = 0x100,
+ DstAddress = 0x102,
+ SrcPitch = 0x104,
+ DstPitch = 0x105,
+ 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