yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Maxwell3D: Add small_index_2

This commit is contained in:
Fernando Sahmkow 2022-03-26 13:43:00 +01:00
parent 7cfa28a666
commit b2099fbdcc
1 changed files with 2 additions and 0 deletions

View File

@ -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.count = regs.small_index_2.count;
regs.index_array.first = regs.small_index_2.first; regs.index_array.first = regs.small_index_2.first;
dirty.flags[VideoCommon::Dirty::IndexBuffer] = true; 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(); return DrawArrays();
case MAXWELL3D_REG_INDEX(topology_override): case MAXWELL3D_REG_INDEX(topology_override):
use_topology_override = true; use_topology_override = true;