eden/src/shader_recompiler
lizzie 312c1cc0f6
[shader_recompiler] Simplify translate loop and directly call (the now uniform functions); remove repetitive declarations on impl.h (#2972)
Function polymorphism where it wasn't needed? especially on tight code loops like translating code and whatnot?
You may think the compiler was fine with this but nah, it just made codegen for all those paths; I didn't check LTO but I'd assume it behaves the same (since the "black box" from most walkers suck) - basically bunch of code that isn't longer used
Also uniformly declaring all functions (i.e same args, return value) makes the entire switch statment way nicer

Signed-off-by: lizzie lizzie@eden-emu.dev

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2972
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
2025-11-08 04:55:03 +01:00
..
backend [shader_recompiler] Add IAbs64 to prevent errors when using I2F with a 64-bit packed CBUF variant (#2918) 2025-11-03 20:20:19 +01:00
frontend [shader_recompiler] Simplify translate loop and directly call (the now uniform functions); remove repetitive declarations on impl.h (#2972) 2025-11-08 04:55:03 +01:00
ir_opt Revert "[Shader Recompiler] Caching optimization for Texture_Pass (#481)" (#2859) 2025-10-28 04:26:45 +01:00
CMakeLists.txt nuke: Goodbye PCH, you will not be missed (#2821) 2025-10-27 20:50:16 +01: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
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