Shader: compute programs read an image descriptor's dwords 5 to 7 as data (200 shaders, 85 dropped passes per world frame) #544
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS#544
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@Olima34 on GitHub · 2026-11-28 01:51 UTC · original
On main, compute programs that read an image descriptor's dwords 5 to 7 as numbers are refused with "a descriptor's address or format read as data: an image's dwords 5 to 7". The descriptor is one the program also uses as an image, so it goes through
Lower::descriptor_data, which rebuilds dwords 1-4 from the host view'sgetDimensionsand leaves 5-7 without a value.Weight. In a census of 5 world frames (main
86cefd22plus 8 open PRs), it is the second-largest loss: 84.8 dropped compute passes per frame, 50 world programs, 200 containers of a 21,600-shader world corpus (plus 8 graphics containers not bound in those frames).Plan.
max_mip), dwords 6-7 compression and metadata bits and the metadata address.getDimensions, as dwords 1-4 already are), and keep a precise refusal for the ones it can't (the metadata address, compression state). Guesses marked in the code and indocs/native-host.md.Next to #461 (which leaves image dwords 5-7 refused on purpose), #411 (a buffer's stride or swizzle) and #389/#387 (buffer fields).
@Olima34 on GitHub · 2026-11-28 01:51 UTC · original
/claim
@github-actions[bot] on GitHub · 2026-11-28 01:51 UTC · original
Claimed by @Olima34. Open a draft pull request with
Refs #540in its description within 24 hours, or the claim expires.@jamal-fv on GitHub · 2026-11-28 21:30 UTC · original
Heads-up: I opened #645 for the next-000367 census (image dwords 5–7 is the largest descriptor refusal there) and claimed it. Your claim on this issue has no PR yet; if you are actively writing one, say so and I will leave this class to you and pivot #645 to the next free reason. Otherwise I will implement the host-answerable dword-5 fields (
MAX_MIP/ array pitch fromgetDimensions) here under #645 and close this as duplicate when the PR lands.@jamal-fv on GitHub · 2026-11-28 21:51 UTC · original
Partial landing under #645 / draft PR: dword 5 rebuilt; dwords 6–7 still refused. Happy to hand off or leave 6–7 to you.