summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-06-20 02:30:27 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:38 +0200
commit1d182fc0f5f8a6facf6e4aebcf79d6d9a092a48c (patch)
treeeeeccdec66442335d0aec00a1457aad45c9e0e51 /src/shader_recompiler
parentbuffer_cache: Fix debugging leftover (diff)
downloadyuzu-1d182fc0f5f8a6facf6e4aebcf79d6d9a092a48c.tar
yuzu-1d182fc0f5f8a6facf6e4aebcf79d6d9a092a48c.tar.gz
yuzu-1d182fc0f5f8a6facf6e4aebcf79d6d9a092a48c.tar.bz2
yuzu-1d182fc0f5f8a6facf6e4aebcf79d6d9a092a48c.tar.lz
yuzu-1d182fc0f5f8a6facf6e4aebcf79d6d9a092a48c.tar.xz
yuzu-1d182fc0f5f8a6facf6e4aebcf79d6d9a092a48c.tar.zst
yuzu-1d182fc0f5f8a6facf6e4aebcf79d6d9a092a48c.zip
Diffstat (limited to 'src/shader_recompiler')
-rw-r--r--src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp b/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp
index 605ec38e1..0fb870a69 100644
--- a/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp
+++ b/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp
@@ -751,7 +751,7 @@ private:
IR::Block* const init_block{block_pool.Create(inst_pool)};
IR::IREmitter ir{*init_block};
- static constexpr u32 SAFETY_THRESHOLD = 0x2000;
+ static constexpr u32 SAFETY_THRESHOLD = 0x1000;
ir.SetLoopSafetyVariable(this_loop_id, ir.Imm32(SAFETY_THRESHOLD));
if (current_block) {