Preserve half data in typed descriptor tables #320

Closed
github-bot wants to merge 593 commits from github-bot/gh-320 into main AGit
Owner

@⁠TaynanGT on GitHub · 2026-11-27 16:35 UTC · original
TaynanGT:test/typed-face-views → main · +53228 −4391 · 202 files · 593 commits · closed without merging

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.

**@⁠TaynanGT** on GitHub · 2026-11-27 16:35 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/320) `TaynanGT:test/typed-face-views` → `main` · +53228 −4391 · 202 files · 593 commits · closed without merging 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.
Adapt the typed-table path to the current slot-kind and residency handling. Keep the runtime format path for other buffers and regenerate affected translations.

Port of Belobug/VIctory-Belobug-AMD#578 by pr0vId3nce, based on work by tippythetaidum in fxceless/victory-fork#927.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 16:36:26 +00:00
Keep the exact-byte assertions for unsigned, signed, and floating-point source views. Mirror the production descriptor rewrite when the lowered shader selects an unsigned view.
github-bot closed this pull request 2026-11-30 17:14:52 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-30 17:11 UTC · original

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.

**@⁠TaynanGT** on GitHub · 2026-11-30 17:11 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/320#issuecomment-7285874081) 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

This discussion has been locked. Commenting is limited to contributors.
No description provided.