diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-29 05:46:58 -0400 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-29 20:49:47 -0400 |
| commit | 9c0f7e8ad45200d09052a368a42d4e21a8d99ec4 (patch) | |
| tree | cfe5380a4307a3daba57f1490a70750f991be2ec /src/video_core/renderer_vulkan/vk_scheduler.cpp | |
| parent | 544977c085fe912818022acc36b6e4c05015a727 (diff) | |
video_core: copy whole macro calls to the stack
Nearly every macro call arrives whole in one method run (~1,000,000 a second in title
1); its parameters were appended to a std::vector first (~2% of the GPU thread). They
are now copied to a stack array. Still a copy: the command list is often guest memory
read in place, which the guest may reuse while the macro runs, and the macro memo
stores the parameters after the call. Accurate GPU mode keeps the vector (it rewrites
parameters in place). EDEN_NX2_MACRO_COPY=1 always uses the vector.
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_scheduler.cpp')
0 files changed, 0 insertions, 0 deletions
