Преглед на файлове

shader_jit_x64_compiler: esi and edi should be persistent (#2500)

Merry преди 9 години
родител
ревизия
f7e96dc068
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      src/video_core/shader/shader_jit_x64_compiler.cpp

+ 2 - 0
src/video_core/shader/shader_jit_x64_compiler.cpp

@@ -144,6 +144,8 @@ static const BitSet32 persistent_regs = BuildRegSet({
     ADDROFFS_REG_0, ADDROFFS_REG_1, LOOPCOUNT_REG, COND0, COND1,
     // Constants
     ONE, NEGBIT,
+    // Loop variables
+    LOOPCOUNT, LOOPINC,
 });
 
 /// Raw constant for the source register selector that indicates no swizzling is performed