Preserve half data in typed descriptor tables #320

Closed
TaynanGT wants to merge 593 commits from upstream-pr/320 into main
TaynanGT commented 2026-11-27 16:35:01 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-27T16:35:01Z.


Some shaders carry half floats and indices through 16-bit typed views in fixed descriptor tables. This candidate uses unsigned DXIL loads and stores for those views and preserves the existing runtime format path for other accesses. It adapts Belobug #578 and victory-fork #927 to the current Vice-Tay shader and descriptor code.

The imported tests cover the original bits, the descriptor offset within the table, non-d16 loads read as halves, and the size of a copied descriptor table. In-game validation is pending.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:issue:5529998827 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/320). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-27T16:35:01Z. --- Some shaders carry half floats and indices through 16-bit typed views in fixed descriptor tables. This candidate uses unsigned DXIL loads and stores for those views and preserves the existing runtime format path for other accesses. It adapts [Belobug #578](https://github.com/Belobug/VIctory-Belobug-AMD/pull/578) and [victory-fork #927](https://github.com/fxceless/victory-fork/pull/927) to the current Vice-Tay shader and descriptor code. The imported tests cover the original bits, the descriptor offset within the table, non-d16 loads read as halves, and the size of a copied descriptor table. In-game validation is pending.
TaynanGT commented 2026-11-30 17:11:56 +00:00 (Migrated from github.com)

Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:11:56Z.


Superseded: main has moved to a new line of the code (see #468). Whatever is still worth having from this will come back as a new PR on the current main.

<!-- greyfinch-sync:TaynanGT/Vice-Tay:comment:7285874081 --> Imported from [TaynanGT/Vice-Tay](https://github.com/TaynanGT/Vice-Tay/pull/320#issuecomment-7285874081). Originally posted by [TaynanGT](https://github.com/TaynanGT) on 2026-11-30T17:11:56Z. --- Superseded: `main` has moved to a new line of the code (see #468). Whatever is still worth having from this will come back as a new PR on the current `main`.

Pull request closed

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
TaynanGT/Vice-Tay!320
No description provided.