WIP: [pr-fix][lighting][shaders][INTEL] Light clustering: exact on 32-lane hosts, approximate on Intel, one exchange per half #33
Loading…
Reference in a new issue
No description provided.
Delete branch "kisekinopureya/Darner:kisekinopureya/pr/light-clustering"
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?
Contributor role (optional)
What it changes
tiled_lighting:CS_ClusterLightsWorldSpace(groups of 64) joins thewave-wide-by-default list. Before, it fell back to an approximate local-waves form, each host wave
building its own half of a console wave's light lists.
flag and value in one meeting (two group barriers instead of four). On an A770 the clustering
dispatch went from 228 to about 125 ms a frame.
523 ms on the card in a replay of the prison cell, 46.3 dB against the exact picture.
DARNER_CLUSTER_LIGHTS_EXACT=1brings the exact form back (in the shader cache key).DARNER_FORMS_DIR,DARNER_FORMS_OUT), listed as test switches in the key test.How it was tested
eb6de67955(rebased onto1a5286a7; the gates re-run there)wave64_testspass.separately.
Checklist
main.docs/asset-policy.md.Checked for overlap
crates/darner-shader/src/emit/lower.rs).🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.