diff options
| author | Duck912 <350528965+Duck912@users.noreply.github.com> | 2026-11-01 21:42:19 -0500 |
|---|---|---|
| committer | Duck912 <350528965+Duck912@users.noreply.github.com> | 2026-11-01 21:54:48 -0500 |
| commit | 808feaf3bf34b3c108ff30baae1d2261f216f4f3 (patch) | |
| tree | 41d9d0eb9e746098797d0c5a55fd1841c333b681 /src/video_core/renderer_vulkan/present/layer.cpp | |
| parent | 9acc324228b7028f947e053a08c18543f631e5ce (diff) | |
video_core: keep root tables and bind table 0 as constant bank 17
The 3D methods 0x504/0x508 write eight 256-byte root tables, which
shaders read as constant banks 24-31; NVN2 keeps push constants in table
0 (bank 17 after the Ampere lowering). Fire Emblem: Fortune's Weave
keeps its material constants there and never binds bank 17, and the
blit constants pass replaced those reads with render-target sizes,
flooding its 3D scenes red.
Maxwell3D now keeps the tables, the buffer cache streams table 0 as bank
17 when the game has not bound one, and the blit constants pass leaves
shaders that read bank 17 outside its parameter block alone.
Assisted-by: Claude Opus 5.5 (debugging, implementation and drafting)
Signed-off-by: Duck912 <350528965+Duck912@users.noreply.github.com>
Diffstat (limited to 'src/video_core/renderer_vulkan/present/layer.cpp')
0 files changed, 0 insertions, 0 deletions
