Pr/amd dxil getdimensions #697

Open
pug205gti6 wants to merge 13 commits from upstream-pr/697 into main
pug205gti6 commented 2026-11-25 04:39:37 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by pug205gti6 on 2026-11-25T04:39:37Z.


No description provided.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6597341076 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/697). Originally posted by [pug205gti6](https://github.com/pug205gti6) on 2026-11-25T04:39:37Z. --- _No description provided._
JRamos1993 commented 2026-11-25 07:06:16 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by JRamos1993 on 2026-11-25T06:28:41Z.


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 --list over the title's full shader pack (26,084 programs), main 310c6eb against this head, with a local DXIL hash on each validated line.

main this PR
validated 25,382 25,424
newly validated 42: 35 Ps + 4 Cs "a descriptor read only as data", 2 Cs "a wave sum of 16-bit floats where not every lane runs", 1 Cs "a descriptor's address or format read as data"
lost 0
DXIL changed among programs validating on both 22,167
  • It's a bundle: this branch merges #203, #487, #156, #213 and upstream changes. #203 alone validates 38 of these 42 on the same pack, so most of the gain is #203's.
  • A sample of 3 changed programs, dxc -dumpbin with SSA numbers normalized: 12–94 lines differ. They are the same createHandleFromHeap + annotateHandle (ByteAddressBuffer) calls at different places, which fits the getDimensions fix in the last commit. I did not check every changed program.
  • Easier to review apart: the bundle's effects mix with those PRs'. Reviewing the last commit on its own, on top of #203, would separate them.

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.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7154830280 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/697#issuecomment-7154830280). Originally posted by [JRamos1993](https://github.com/JRamos1993) on 2026-11-25T06:28:41Z. --- **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 --list` over the title's full shader pack (26,084 programs), `main` `310c6eb` against this head, with a local DXIL hash on each validated line. | | `main` | this PR | |---|---|---| | validated | 25,382 | **25,424** | | newly validated | | 42: 35 Ps + 4 Cs "a descriptor read only as data", 2 Cs "a wave sum of 16-bit floats where not every lane runs", 1 Cs "a descriptor's address or format read as data" | | lost | | 0 | | DXIL changed among programs validating on both | | **22,167** | - **It's a bundle:** this branch merges #203, #487, #156, #213 and upstream changes. #203 alone validates 38 of these 42 on the same pack, so most of the gain is #203's. - **A sample of 3 changed programs**, `dxc -dumpbin` with SSA numbers normalized: 12–94 lines differ. They are the same `createHandleFromHeap` + `annotateHandle` (ByteAddressBuffer) calls at different places, which fits the `getDimensions` fix in the last commit. I did not check every changed program. - **Easier to review apart:** the bundle's effects mix with those PRs'. Reviewing the last commit on its own, on top of #203, would separate them. 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 commented 2026-11-25 12:07:03 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by kaayzouee on 2026-11-25T11:31:34Z.


Duplicate of #542

<!-- greyfinch-sync:fxceless/victory-fork:comment:7161159896 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/697#issuecomment-7161159896). Originally posted by [kaayzouee](https://github.com/kaayzouee) on 2026-11-25T11:31:34Z. --- Duplicate of #542
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/697:upstream-pr/697'
git switch 'upstream-pr/697'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/697'
git switch 'upstream-pr/697'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/697'
git switch 'upstream-pr/697'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/697'
git switch 'main'
git merge --squash 'upstream-pr/697'
git switch 'main'
git merge --ff-only 'upstream-pr/697'
git switch 'main'
git merge 'upstream-pr/697'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
fxceless/victory-fork!697
No description provided.