eden-miror/src/shader_recompiler/frontend/maxwell
Gamer64 43a7470a7d
[Maxwell]: Fix shaders compilation memory leak (#2606)
Co-authored-by: collecting <collecting@citron-emu.org>

"The ObjectPool<Statement> was never being cleared after use. When compiling complex shaders, this would allocate gigabytes of memory, causing the emulator to run out of RAM and be killed by the operating system. This is a critical fix that prevents out-of-memory crashes on all operating systems when playing games with complex shaders."

Co-authored-by: Gamer64 <76565986+Gamer64ytb@users.noreply.github.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2606
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
Co-authored-by: Gamer64 <gamer64@eden-emu.dev>
Co-committed-by: Gamer64 <gamer64@eden-emu.dev>
2025-10-01 01:21:12 +02:00
..
translate [shader_recompiler] Rewrite ISBERD (#2541) 2025-09-22 17:55:41 +02:00
control_flow.cpp [common] remove ranges polyfill (#2546) 2025-09-24 19:29:48 +02:00
control_flow.h general: fix compilation on GCC 12 2022-06-13 20:09:30 -04:00
decode.cpp [common] remove ranges polyfill (#2546) 2025-09-24 19:29:48 +02:00
decode.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
indirect_branch_table_track.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
indirect_branch_table_track.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
instruction.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
location.h Update fmt to allow for v11 2025-04-10 01:11:22 +02:00
maxwell.inc general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
opcodes.cpp [icc] fix intel c++ compiler errors (#146) 2025-07-30 20:59:28 +02:00
opcodes.h Update fmt to allow for v11 2025-04-10 01:11:22 +02:00
structured_control_flow.cpp [Maxwell]: Fix shaders compilation memory leak (#2606) 2025-10-01 01:21:12 +02:00
structured_control_flow.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
translate_program.cpp [meta] fix license headers (#2547) 2025-09-21 21:58:59 +02:00
translate_program.h shader_recompiler: add gl_Layer translation GS for older hardware 2022-12-01 09:51:27 -05:00