Procházet zdrojové kódy

Maxwell3D: Add small_index_2

Fernando Sahmkow před 4 roky
rodič
revize
b2099fbdcc
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      src/video_core/engines/maxwell_3d.cpp

+ 2 - 0
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;