aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/State/MethodOffset.cs
diff options
context:
space:
mode:
authorgdk <gab.dark.100@gmail.com>2019-10-26 14:50:52 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commit8cba252b238ee6cf6599ad2fc57793e6f76c5e2e (patch)
tree5ee98eb374a46e210d4a960f5e1d58b42b3f27eb /Ryujinx.Graphics.Gpu/State/MethodOffset.cs
parent1b7d95519569639135a68e7ebda5148f3263217c (diff)
Add per-source type memory change tracking, simplified state change tracking, other fixes
Diffstat (limited to 'Ryujinx.Graphics.Gpu/State/MethodOffset.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/State/MethodOffset.cs129
1 files changed, 71 insertions, 58 deletions
diff --git a/Ryujinx.Graphics.Gpu/State/MethodOffset.cs b/Ryujinx.Graphics.Gpu/State/MethodOffset.cs
index 3637d874..4c5e0beb 100644
--- a/Ryujinx.Graphics.Gpu/State/MethodOffset.cs
+++ b/Ryujinx.Graphics.Gpu/State/MethodOffset.cs
@@ -2,63 +2,76 @@ namespace Ryujinx.Graphics.Gpu.State
{
enum MethodOffset
{
- Inline2MemoryParams = 0x60,
- Inline2MemoryExecute = 0x6c,
- Inline2MemoryPushData = 0x6d,
- CopyDstTexture = 0x80,
- CopySrcTexture = 0x8c,
- DispatchParamsAddress = 0xad,
- Dispatch = 0xaf,
- CopyBufferParams = 0x100,
- CopyBufferSwizzle = 0x1c2,
- CopyBufferDstTexture = 0x1c3,
- CopyBufferSrcTexture = 0x1ca,
- RtColorState = 0x200,
- CopyTextureControl = 0x223,
- CopyRegion = 0x22c,
- ViewportTransform = 0x280,
- ViewportExtents = 0x300,
- VertexBufferDrawState = 0x35d,
- ClearColors = 0x360,
- ClearDepthValue = 0x364,
- ClearStencilValue = 0x368,
- DepthBiasState = 0x370,
- TextureBarrier = 0x378,
- StencilBackMasks = 0x3d5,
- InvalidateTextures = 0x3dd,
- TextureBarrierTiled = 0x3df,
- RtDepthStencilState = 0x3f8,
- VertexAttribState = 0x458,
- RtDepthStencilSize = 0x48a,
- DepthTestEnable = 0x4b3,
- DepthWriteEnable = 0x4ba,
- DepthTestFunc = 0x4c3,
- BlendEnable = 0x4d8,
- StencilTestState = 0x4e0,
- FirstVertex = 0x50d,
- FirstInstance = 0x50e,
- ResetCounter = 0x54c,
- RtDepthStencilEnable = 0x54e,
- ConditionState = 0x554,
- SamplerPoolState = 0x557,
- DepthBiasFactor = 0x55b,
- TexturePoolState = 0x55d,
- StencilBackTestState = 0x565,
- DepthBiasUnits = 0x56f,
- RtMsaaMode = 0x574,
- ShaderBaseAddress = 0x582,
- PrimitiveRestartState = 0x591,
- IndexBufferState = 0x5f2,
- DepthBiasClamp = 0x61f,
- VertexBufferInstanced = 0x620,
- FaceState = 0x646,
- RtColorMask = 0x680,
- ReportState = 0x6c0,
- VertexBufferState = 0x700,
- BlendState = 0x780,
- VertexBufferEndAddress = 0x7c0,
- ShaderState = 0x800,
- UniformBufferState = 0x8e0,
- TextureBufferIndex = 0x982
+ I2mParams = 0x60,
+ LaunchDma = 0x6c,
+ LoadInlineData = 0x6d,
+ CopyDstTexture = 0x80,
+ CopySrcTexture = 0x8c,
+ DispatchParamsAddress = 0xad,
+ Dispatch = 0xaf,
+ CopyBuffer = 0xc0,
+ CopyBufferParams = 0x100,
+ CopyBufferSwizzle = 0x1c2,
+ CopyBufferDstTexture = 0x1c3,
+ CopyBufferSrcTexture = 0x1ca,
+ RtColorState = 0x200,
+ CopyTextureControl = 0x223,
+ CopyRegion = 0x22c,
+ CopyTexture = 0x237,
+ ViewportTransform = 0x280,
+ ViewportExtents = 0x300,
+ VertexBufferDrawState = 0x35d,
+ ClearColors = 0x360,
+ ClearDepthValue = 0x364,
+ ClearStencilValue = 0x368,
+ DepthBiasState = 0x370,
+ TextureBarrier = 0x378,
+ StencilBackMasks = 0x3d5,
+ InvalidateTextures = 0x3dd,
+ TextureBarrierTiled = 0x3df,
+ RtDepthStencilState = 0x3f8,
+ VertexAttribState = 0x458,
+ RtDepthStencilSize = 0x48a,
+ DepthTestEnable = 0x4b3,
+ DepthWriteEnable = 0x4ba,
+ DepthTestFunc = 0x4c3,
+ BlendEnable = 0x4d8,
+ StencilTestState = 0x4e0,
+ FirstVertex = 0x50d,
+ FirstInstance = 0x50e,
+ ResetCounter = 0x54c,
+ RtDepthStencilEnable = 0x54e,
+ ConditionState = 0x554,
+ SamplerPoolState = 0x557,
+ DepthBiasFactor = 0x55b,
+ TexturePoolState = 0x55d,
+ StencilBackTestState = 0x565,
+ DepthBiasUnits = 0x56f,
+ RtMsaaMode = 0x574,
+ ShaderBaseAddress = 0x582,
+ DrawEnd = 0x585,
+ DrawBegin = 0x586,
+ PrimitiveRestartState = 0x591,
+ IndexBufferState = 0x5f2,
+ IndexBufferCount = 0x5f8,
+ DepthBiasClamp = 0x61f,
+ VertexBufferInstanced = 0x620,
+ FaceState = 0x646,
+ Clear = 0x674,
+ RtColorMask = 0x680,
+ ReportState = 0x6c0,
+ Report = 0x6c3,
+ VertexBufferState = 0x700,
+ BlendState = 0x780,
+ VertexBufferEndAddress = 0x7c0,
+ ShaderState = 0x800,
+ UniformBufferState = 0x8e0,
+ UniformBufferUpdateData = 0x8e4,
+ UniformBufferBindVertex = 0x904,
+ UniformBufferBindTessControl = 0x90c,
+ UniformBufferBindTessEvaluation = 0x914,
+ UniformBufferBindGeometry = 0x91c,
+ UniformBufferBindFragment = 0x924,
+ TextureBufferIndex = 0x982
}
} \ No newline at end of file