yuzu-emu
/
yuzu
Archived
1
0
Fork 0

shader: Calibrate loop safety threshold

This commit is contained in:
ReinUsesLisp 2021-06-19 21:30:27 -03:00 committed by ameerj
parent df9b7e18f5
commit 1d182fc0f5
1 changed files with 1 additions and 1 deletions

View File

@ -751,7 +751,7 @@ private:
IR::Block* const init_block{block_pool.Create(inst_pool)}; IR::Block* const init_block{block_pool.Create(inst_pool)};
IR::IREmitter ir{*init_block}; 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)); ir.SetLoopSafetyVariable(this_loop_id, ir.Imm32(SAFETY_THRESHOLD));
if (current_block) { if (current_block) {