summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-02-19 22:13:50 +0100
committerGitHub <noreply@github.com>2020-02-19 22:13:50 +0100
commitb2bc7682b4f4fab68b49d51b50f8930f1ccdb157 (patch)
treed5c22b625e6cb0c734725c4db57dd51301585011 /src/video_core/engines
parentMerge pull request #3411 from ReinUsesLisp/specific-funcs (diff)
parentmaxwell_3d: Unify draw methods (diff)
downloadyuzu-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.cpp4
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