Fix RADV lighting, water, and facial animation on wide heaps #183
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp!183
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-183"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@iws322112 on GitHub · 2026-12-05 20:49 UTC · original
iws322112:fix/radv-rendering→main· +265 −36 · 14 files · 1 commits · openSummary
Test environment
71cae091b06571e), DXVK 3.1.1Related issues
Verification
Install the executable with the full built
shader-replacetree, includingheap-2097152.@gamingwithhomie on GitHub · 2026-12-05 20:53 UTC · original
Thank you - this is exactly the #110/#44/#21 RADV cluster, and the offline Radeon replay + same-save A/B is the right way to prove it. Flagging for a dedicated review pass rather than a fast merge: it bundles several things (wide-heap dual-size replacements + new
shaders/replacesources, FP16 partial-wave sums, facial workspace in groupshared, 120/240 Hz options, pipeline-cache streaming, anapps/larp/build.rschange), and it interacts with our amd-test tracks PORTABLE_VIEWS 1M cap - we need to check whether the dual-heap-size approach replaces that cap or should coexist with it, and how updated replacement shaders get rebuilt into the release packages (they currently ship prebuilt DXIL). v1.1.1 (just published) already asks #110 reporters to retest + tryLARP_HOST_WAVE=32; your results there would help scope this. Full review next round.@iws322112 on GitHub · 2026-12-05 20:58 UTC · original
Thanks. The dual-size replacements can coexist with the amd-test cap. The default DXIL uses the 1,000,000-slot layout, and the loader picks the
heap-2097152/variant only when the runtime selects that heap size. The cap therefore remains a valid choice for the 1M path. I verified the wide path on RADV. I have yet to run the capped path on hardware.For packaging,
apps/larp/build.rsgenerates both variants with DXC. A package that ships prebuilt DXIL would copy the regeneratedtarget/shader-replace/tree recursively, includingheap-2097152/and the interface sidecars. A build that enforces the cap only needs the 1M files.The same-save baseline in the description was built from
cf5e530. It has the same runtime code as thev1.1.1tag at8e166ad(the intervening commit changes the README). It selected 2,097,152 view slots and reported 32–64 lane support on the 9070 XT. The captured facial compute dispatch still produced jaw values around 207 with the upstream translator versus about 0.049 and 0 in the reference. I checked the wave override too. The tag's game-launch path reads the device's reported lane limit, while amd-test readsLARP_HOST_WAVEas an override. The tag exposesLARP_HOST_MAX_WAVEfor the standalone translator. The baseline therefore provides a default-path result only, and I don't have a forced-wave32 gameplay result to report yet.@gamingwithhomie on GitHub · 2026-12-05 21:18 UTC · original
Merged to the amd-test and linux-test branches (not main yet, per review: ~65 replacements still embed the 1M slot constants, and the new facial replacement is untested on NVIDIA) and shipped in v1.1.2-amd + the v1.1.2 Linux/Proton build. One build fix was needed: the
-validator-version 1.9pin broke builds on Windows SDK dxc 1.8 (incl. AmericasLauncher source builds, #154), so its dropped - the emitted DXIL matches every existing replacement. Release packages now ship the freshly builtbin\shader-replaceincludingheap-2097152\(UPDATE zips carry it too). The portable-heap cap stays on the AMD build as the safety net for unconverted replacements. Main-branch merge can follow once the remaining constants are converted/listed or proven unreachable. Thank you - this was the #110/#179 fix!ec5ed24117to3e61a0c2d0View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.