dxbc, xshader: read four-word typed UAVs in a mesh pipeline's pixel layout #214
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/brcly--TuxBox!214
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-214"
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?
@NickStallman on GitHub · 2026-11-26 07:51 UTC · original
NickStallman:fix/xshader-unresolved-image-lz→main· +92 −0 · 4 files · 1 commits · merged 2026-11-26 08:26 UTCIn ProjectScarlett's world load, 170 distinct mesh-pipeline pixel shaders were refused with
unresolved image [image_sample_lz]. This was the most common refusal there. The root attached to them puts a UAV (u7) at the slot where the program readst91, so the sample resolved to a UAV.#177 lays such pixel tables out as the program reads them (
MeshLayout::from_pixel_shader). Butread_stageinmesh_table.rsgave up on a record type these programs have: a four-word typed UAV (class0x303, shape 4, PSV type 6). No pixel layout was built, the pixel stage was translated against the title's root, and that failed.mesh_table.rs: read a four-word typed UAV in pixel programs when PSV names the register as a typed UAV and not a structured one. This is the same pattern as #202 for typed SRV buffers.image.rs: a sample or gather that resolves to a table UAV now says<op> reads table UAV u<N>: the root does not describe the program's tableinstead ofunresolved image. The outcome is unchanged.pixel_layout_reads_four_word_typed_unordered_access_viewsandsampling_a_root_uav_slot_names_the_mismatched_root.Result
unresolved imagerefusals during the world load went from 46 to 0 between two runs on the same save.Checks
tuxbox.py checkpassed every group.guest-present*gates. They fail on this machine for an unrelated reason, as in #212.cargo testfor the shader compiler (326) andtuxbox-dxbc(66): OK. Python tests: 368 OK.🤖 Generated with Claude Code