Pr/amd dxil getdimensions #697
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/fxceless--victory-fork!697
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-697"
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?
@pug205gti6 on GitHub · 2026-11-25 04:39 UTC · original
pug205gti6:pr/amd-dxil-getdimensions→main· +563 −62 · 9 files · 13 commits · openNo description provided.
Three translator gaps that dropped world shaders (46 programs of the retail pack; 0 that translated before stop now, by a whole-pack `translate --validate --list` against the previous commit): - A descriptor nothing uses as one, whose dwords the code reads all the same ("a descriptor read only as data", 35, and one "a descriptor's address or format read as data"): an 8-dword image picked from the heap by an index in a constant buffer, its width/height/base level turned into a texel size (PS_PuddleDetect, 34 pixel programs), or a 4-dword buffer tested for being empty by its record count (ShallowWaterSim:CS_MinTimestepReduce). New `unused_descriptor_kind` gives such loads a kind (image: a 2D texture, documented as a shortcut; buffer: a raw view) and `descriptor_data` rebuilds their size dwords from the host view as it does for used descriptors; the buffer's address dwords come from the host as before. Lane-copied descriptors and samplers keep their own handling (checked first). - The first half of an f16 interpolation pair whose register an f16 second half then writes the high half of ("the first half of an interpolation", 8, PS_DeferredTextured and mirror-reflection variants): the second half keeps the low half of the register, which the first half wrote and nothing reads. The first half of a pair now writes 0. - A 16-bit float wave sum where some lanes have left the program ("a wave sum of 16-bit floats where not every lane runs", 2, compute_graph_ops:CS_TransposeVecMatMul*): on a host wave of 64 lanes, `half_sum_present` follows the console's balanced tree, each lane reading its partner run's partial sum from the first lane of that run that is here (every lane of an aligned run holds the run's sum on the console, the ones outside EXEC included), +0 where none is. Two host waves of 32 still refuse it. Tests: a GPU test of the 16-bit sum with 64, 63, 40, 33, 32, 17, 5 and 1 lanes staying, bit for bit against the console's tree (RX 7900 XT). cargo test --workspace and clippy -D warnings pass. Co-Authored-By: Claude Opus 5.5 <[email protected]>c96b4f2: The depth bounds test works (#82); faster defaults; textures are on the card before the character bake; one host copy per placed texture 6805a5fe57@JRamos1993 on GitHub · 2026-11-25 06:28 UTC · original
Offline check on the retail shader pack: +42 programs validate, none lost. 22,167 programs' DXIL changes.
Setup: RTX 5090, Windows 11.
victory translate --validate --listover the title's full shader pack (26,084 programs),main310c6ebagainst this head, with a local DXIL hash on each validated line.maindxc -dumpbinwith SSA numbers normalized: 12–94 lines differ. They are the samecreateHandleFromHeap+annotateHandle(ByteAddressBuffer) calls at different places, which fits thegetDimensionsfix in the last commit. I did not check every changed program.AI use: Claude Code with Claude Opus 5.5 ran the pack, compared the dumps and wrote this. Nothing from the title is in it.
@kaayzouee on GitHub · 2026-11-25 11:31 UTC · original
Duplicate of #542
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.