summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2022-03-26 13:43:00 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2022-10-06 21:00:53 +0200
commitb2099fbdcc3cb213aec8f836033fb02c4b6bbd09 (patch)
tree035a4d17df139a9e4b64322459967c192d444da4
parentMemory Manager: ensure safety of GPU to CPU address. (diff)
downloadyuzu-b2099fbdcc3cb213aec8f836033fb02c4b6bbd09.tar
yuzu-b2099fbdcc3cb213aec8f836033fb02c4b6bbd09.tar.gz
yuzu-b2099fbdcc3cb213aec8f836033fb02c4b6bbd09.tar.bz2
yuzu-b2099fbdcc3cb213aec8f836033fb02c4b6bbd09.tar.lz
yuzu-b2099fbdcc3cb213aec8f836033fb02c4b6bbd09.tar.xz
yuzu-b2099fbdcc3cb213aec8f836033fb02c4b6bbd09.tar.zst
yuzu-b2099fbdcc3cb213aec8f836033fb02c4b6bbd09.zip
-rw-r--r--src/video_core/engines/maxwell_3d.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index 950c70dcd..add1ccebe 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -219,6 +219,8 @@ void Maxwell3D::ProcessMethodCall(u32 method, u32 argument, u32 nonshadow_argume
regs.index_array.count = regs.small_index_2.count;
regs.index_array.first = regs.small_index_2.first;
dirty.flags[VideoCommon::Dirty::IndexBuffer] = true;
+ // a macro calls this one over and over, should it increase instancing?
+ // Used by Hades and likely other Vulkan games.
return DrawArrays();
case MAXWELL3D_REG_INDEX(topology_override):
use_topology_override = true;