diff options
author | bunnei <bunneidev@gmail.com> | 2020-02-19 22:13:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-19 22:13:50 +0100 |
commit | b2bc7682b4f4fab68b49d51b50f8930f1ccdb157 (patch) | |
tree | d5c22b625e6cb0c734725c4db57dd51301585011 /src/video_core/engines | |
parent | Merge pull request #3411 from ReinUsesLisp/specific-funcs (diff) | |
parent | maxwell_3d: Unify draw methods (diff) | |
download | yuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.tar yuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.tar.gz yuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.tar.bz2 yuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.tar.lz yuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.tar.xz yuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.tar.zst yuzu-b2bc7682b4f4fab68b49d51b50f8930f1ccdb157.zip |
Diffstat (limited to 'src/video_core/engines')
-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 |