diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-19 21:30:27 -0300 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-22 21:51:38 -0400 |
commit | 1d182fc0f5f8a6facf6e4aebcf79d6d9a092a48c (patch) | |
tree | eeeccdec66442335d0aec00a1457aad45c9e0e51 /src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp | |
parent | df9b7e18f5c5bab84cc8c38214a0e1e9e9506bd4 (diff) |
shader: Calibrate loop safety threshold
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp | 2 |
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 605ec38e13..0fb870a695 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) { |