diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-30 14:29:58 -0400 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-11-01 11:09:52 -0500 |
| commit | 01389ee5266fe5e775ef205ca90122d68d4c46c5 (patch) | |
| tree | 01fc51be5f8a0b84daeab6caf0c40ae3e5a823f5 /src/video_core/vulkan_common/vulkan_wrapper.cpp | |
| parent | e39825807109ca5ac6c2213b03a6bcdab8fc3922 (diff) | |
nx2: mirror uniform registers above UR27 below R216
Uniform registers have GPR mirrors only for UR0-UR27 (R216-R237,
R240-R245). Kirby Air Riders' graphics shaders load a 64-bit base into
UR28:UR29 (ULDC.64 UR28, c[0x0][0x510]) and address global loads with it
(4 programs). When a program uses UR28 or above, lower it again with those
registers mirrored just below R216 (UR28 at R(216 - n), n even so pairs
stay adjacent) and that range kept from the program's own registers;
other programs keep the same layout.
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_wrapper.cpp')
0 files changed, 0 insertions, 0 deletions
