eden/src
lizzie 77decca678
Some checks are pending
tx-src / sources (push) Waiting to run
Check Strings / check-strings (push) Waiting to run
[video_core/engines/maxwell3d] memory inline DrawState to reduce indirection on hot paths (#3758)
usual indirection removal
helps very slightly to codegen

the idea is basically to reduce the amount of pointer deference overall in the code, and use idiomatic std::variant<>-isms to not rely on vtables/unique_ptr overhead
this should allow the compiler to emit better code
of course it's a tiny optimisation and only CPU side, but allows us to reduce indirection which is almost always a good thing

"but youre passing more parameters to the function!!!" its literally memoized into a register my friend

Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3758
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
2026-04-28 17:44:51 +02:00
..
android [dist, android] Update translations from Transifex for Apr 28 (#3902) 2026-04-28 16:11:44 +02:00
audio_core [cmake] fixes for XCode when having languages other than C/C++ (#3772) 2026-03-26 04:46:43 +01:00
common [memory] coalesce redundant remappings of MultiPageLevel (#3857) 2026-04-28 01:17:56 +02:00
core [hle] reuse previous pagetable when initializing new processes on the same KProcessPageTable (#3891) 2026-04-28 01:15:21 +02:00
dedicated_room [common/logging] Simplify logging logic and fix issues when logging before system is created (#3688) 2026-03-12 18:29:15 +01:00
dynarmic [dynarmic] set BL terminal as FastLinkBlock (#3811) 2026-04-28 01:12:35 +02:00
frontend_common [desktop] Fix 2 mod manager bugs (#3884) 2026-04-26 03:26:04 +02:00
hid_core [hle] handle NPad shared_memory being null on certain updates and cases (#3860) 2026-04-27 04:01:49 +02:00
input_common [common] unify std::random_device (#3801) 2026-03-31 20:12:41 +02:00
network [common] unify std::random_device (#3801) 2026-03-31 20:12:41 +02:00
qt_common [desktop] Fix 2 mod manager bugs (#3884) 2026-04-26 03:26:04 +02:00
shader_recompiler [spirv] nuke spirv-opt (#3877) 2026-04-25 21:54:27 +02:00
tests [cmake] fixes for XCode when having languages other than C/C++ (#3772) 2026-03-26 04:46:43 +01:00
video_core [video_core/engines/maxwell3d] memory inline DrawState to reduce indirection on hot paths (#3758) 2026-04-28 17:44:51 +02:00
web_service [cmake, deps] conjure common/httplib.h and remove global def for httplib macros (#3800) 2026-04-06 19:13:09 +02:00
yuzu [desktop] Fix 2 mod manager bugs (#3884) 2026-04-26 03:26:04 +02:00
yuzu_cmd [cmake] fixes for XCode when having languages other than C/C++ (#3772) 2026-03-26 04:46:43 +01:00
yuzu_room_standalone [cmake] add a YUZU_STATIC_ROOM option (#3411) 2026-01-28 23:54:49 +01:00
.clang-format chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
CMakeLists.txt [dynarmic, cmake] Assorted RISC-V build fixes (#3797) 2026-04-06 19:11:47 +02:00
dep_hashes.h.in [cmake, frontend] feat: CPMUtil + dependency viewer (#238) 2025-08-11 22:27:29 +02:00