dxbc, xshader: read four-word typed UAVs in a mesh pipeline's pixel layout #214
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from brcly/TuxBox. Originally posted by NickStallman on 2026-11-26T07:51:39Z.
In 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