diff options
| author | Liam <byteslice@airmail.cc> | 2022-04-14 09:57:06 -0400 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2022-04-14 09:57:06 -0400 |
| commit | a24e7ba61b11f84ec3d6388a13101f95cecca0d3 (patch) | |
| tree | 434e536e8935bbcd20e5f89c3d3c9b8c083560c7 /src/video_core/engines/maxwell_3d.cpp | |
| parent | 8ae43a1be96c8673a182c2cf92bea4f1c5888adb (diff) | |
maxwell3d: add small_index_2 register
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index 54a902f56..7399e760f 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -214,6 +214,11 @@ void Maxwell3D::ProcessMethodCall(u32 method, u32 argument, u32 nonshadow_argume regs.index_array.first = regs.small_index.first; dirty.flags[VideoCommon::Dirty::IndexBuffer] = true; return DrawArrays(); + case MAXWELL3D_REG_INDEX(small_index_2): + regs.index_array.count = regs.small_index_2.count; + regs.index_array.first = regs.small_index_2.first; + dirty.flags[VideoCommon::Dirty::IndexBuffer] = true; + return DrawArrays(); case MAXWELL3D_REG_INDEX(topology_override): use_topology_override = true; return; |
