diff options
| author | bunnei <bunneidev@gmail.com> | 2020-02-19 16:13:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-19 16:13:50 -0500 |
| commit | b2bc7682b4f4fab68b49d51b50f8930f1ccdb157 (patch) | |
| tree | d5c22b625e6cb0c734725c4db57dd51301585011 /src/video_core/engines/maxwell_3d.cpp | |
| parent | c8261a1a574ef83a368e5e04489f1e0490ca80d3 (diff) | |
| parent | 91aa58e41072e648cd1d43d284b08c2a01af08a2 (diff) | |
Merge pull request #3414 from ReinUsesLisp/maxwell-3d-draw
maxwell_3d: Unify draw methods
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index 842cdcbcf..b28de1092 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -489,7 +489,7 @@ void Maxwell3D::FlushMMEInlineDraw() { const bool is_indexed = mme_draw.current_mode == MMEDrawMode::Indexed; if (ShouldExecute()) { - rasterizer.DrawMultiBatch(is_indexed); + rasterizer.Draw(is_indexed, true); } // TODO(bunnei): Below, we reset vertex count so that we can use these registers to determine if @@ -654,7 +654,7 @@ void Maxwell3D::DrawArrays() { const bool is_indexed{regs.index_array.count && !regs.vertex_buffer.count}; if (ShouldExecute()) { - rasterizer.DrawBatch(is_indexed); + rasterizer.Draw(is_indexed, false); } // TODO(bunnei): Below, we reset vertex count so that we can use these registers to determine if |
