summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMerry <MerryMage@users.noreply.github.com>2017-01-31 09:38:31 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-01-31 09:38:31 +0100
commitf7e96dc068bce86f5ea487a1af887c2d5d5d045c (patch)
tree37deee5c999e59c7272542e99a956eb34bc477cd
parentfile_util: Fixed implicit type conversion warning (#2503) (diff)
downloadyuzu-f7e96dc068bce86f5ea487a1af887c2d5d5d045c.tar
yuzu-f7e96dc068bce86f5ea487a1af887c2d5d5d045c.tar.gz
yuzu-f7e96dc068bce86f5ea487a1af887c2d5d5d045c.tar.bz2
yuzu-f7e96dc068bce86f5ea487a1af887c2d5d5d045c.tar.lz
yuzu-f7e96dc068bce86f5ea487a1af887c2d5d5d045c.tar.xz
yuzu-f7e96dc068bce86f5ea487a1af887c2d5d5d045c.tar.zst
yuzu-f7e96dc068bce86f5ea487a1af887c2d5d5d045c.zip
-rw-r--r--src/video_core/shader/shader_jit_x64_compiler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/shader/shader_jit_x64_compiler.cpp b/src/video_core/shader/shader_jit_x64_compiler.cpp
index 49806e8c9..bef7904b0 100644
--- a/src/video_core/shader/shader_jit_x64_compiler.cpp
+++ b/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