eden/src/shader_recompiler
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: #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
..
backend [meta] fix license headers (#2547) 2025-09-21 21:58:59 +02:00
frontend [Maxwell]: Fix shaders compilation memory leak (#2606) 2025-10-01 01:21:12 +02:00
ir_opt [meta] fix license headers (#2547) 2025-09-21 21:58:59 +02:00
CMakeLists.txt [cmake] refactor: cpmfile, deps prefetch, force system and more (#322) 2025-08-29 00:18:02 +02:00
environment.h Fix "Propietary" typo elsewhere 2024-01-07 23:15:38 +00:00
exception.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
host_translate_info.h shader_recompiler: Align SSBO offsets to meet host requirements 2023-10-31 20:10:54 -04:00
object_pool.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
precompiled_headers.h CMake: Consolidate common PCH headers 2022-11-30 18:30:30 -05:00
profile.h shader_recompiler: throw on missing geometry streams in geometry shaders 2024-02-19 00:34:00 -05:00
program_header.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
runtime_info.h Add InputTopologyVertices from torzu adapted to eden 2025-04-19 17:56:48 -03:00
shader_info.h shader_recompiler: use float image operations on load/store when required 2023-12-21 14:34:46 -05:00
stage.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
varying_state.h MacroHLE: Add HLE replacement for base vertex and base instance. 2023-01-01 16:43:57 -05:00