WIP: [pr-fix][rendering][shaders][INTEL] Mesh first lane: a wave64 mesh program's first-lane reads take the group's thread 0 #41
Loading…
Reference in a new issue
No description provided.
Delete branch "kisekinopureya:kisekinopureya/pr/mesh-first-lane"
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
The rainbow triangles in the prison cell's window were drawn by mesh 8f690b0f5dbbce02 (capture-2, list
71 draw 669). Each thread takes the first lane's meshlet counts, and on the host each wave of 32 or
fewer lanes had its own first lane. Which meshlets share a wave follows the order the culling passes
append them in, so the triangles came and went between runs.
With the group's thread 0 used for every thread, 0 of 12 replays drew them (3 of 10 before), at about
2% of the frame.
DARNER_MESH_FIRST_LANE=0turns it off; it is in the shader cache key.How it was tested
1a5286a7; the gates re-run there)areas (user), so other causes are left.
Checklist
main.docs/asset-policy.md.Checked for overlap
crates/darner-shader/src/emit/lower.rs).🤖 Generated with Claude Code
Test result on an Intel Arc A770 16 GB (Series S, 1920x1080, XeSS ultra performance), with a build of the Intel base branch that includes this change, from before its rebase onto the current
main.DARNER_MESH_FIRST_LANE=0(this change off; shaders preloaded with it off), the tester saw rainbow artifacts all around, and a boat model flickering purple when it first loaded.Device removals that stop in mesh draws of skinned models happened with it on and off alike (breadcrumbs:
MS_VS_LinearDepthPreSkinandMSNC_VS_CascadeShadows_drawskinnedTexture), so they don't come from this change.🤖 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.