Shaders: combined retest for #68 and #69 #80

Open
Artking175 wants to merge 5 commits from upstream-pr/80 into main
Artking175 commented 2026-11-25 09:08:56 +00:00 (Migrated from github.com)
First-time contributor

Imported from Zettrox/ztrx. Originally posted by Artking175 on 2026-11-25T09:02:55Z.


This draft packages the fixes from #68 and #69 with optional refusal tracing so testers can use one build. The two fixes are available separately in their original PRs for review.

Offline retest

Area Pixel shader hashes
#68 — packed FP16 interpolation 78f3f2fc53a69531, 38bf0814e721a1b3
#69 — descriptor-only dimension reads 6b6db9f1a526daeb, 7d0f14ce44746d7e

Run from the repository root on Windows and replace the shader archive path with your local path.

$env:VICTORY_REFUSAL_CONTEXT = '1'
$env:VICTORY_TRANSLATE_ONLY = '78f3f2fc53a69531,38bf0814e721a1b3,6b6db9f1a526daeb,7d0f14ce44746d7e'
cargo run --locked --profile diag -p victory --features diagnostics -- translate 'D:\game\shaders.rpf' --validate --pipelines --list --jobs 1

For each hash, please report whether it emits DXIL, validates, and creates a D3D12 pipeline. If it still fails, the error and any shader refusal lines are enough. The test does not require launching the game or sharing game files.

Local checks

  • cargo test --locked -p victory-shader --features diagnostics on macOS — 181 passed, 2 ignored.
  • Clippy for the diagnostics app and shader crate targeting Windows x64 — passed.
  • cargo xtask policy — passed.

The exact title shaders still need a retest on this combined head. The failure analysis is documented in victory-fork #203.

<!-- greyfinch-sync:Zettrox/ztrx:issue:6600902353 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/pull/80). Originally posted by [Artking175](https://github.com/Artking175) on 2026-11-25T09:02:55Z. --- This draft packages the fixes from #68 and #69 with optional refusal tracing so testers can use one build. The two fixes are available separately in their original PRs for review. ### Offline retest | Area | Pixel shader hashes | | --- | --- | | #68 — packed FP16 interpolation | `78f3f2fc53a69531`, `38bf0814e721a1b3` | | #69 — descriptor-only dimension reads | `6b6db9f1a526daeb`, `7d0f14ce44746d7e` | Run from the repository root on Windows and replace the shader archive path with your local path. ```powershell $env:VICTORY_REFUSAL_CONTEXT = '1' $env:VICTORY_TRANSLATE_ONLY = '78f3f2fc53a69531,38bf0814e721a1b3,6b6db9f1a526daeb,7d0f14ce44746d7e' cargo run --locked --profile diag -p victory --features diagnostics -- translate 'D:\game\shaders.rpf' --validate --pipelines --list --jobs 1 ``` For each hash, please report whether it emits DXIL, validates, and creates a D3D12 pipeline. If it still fails, the error and any `shader refusal` lines are enough. The test does not require launching the game or sharing game files. ### Local checks - `cargo test --locked -p victory-shader --features diagnostics` on macOS — 181 passed, 2 ignored. - Clippy for the diagnostics app and shader crate targeting Windows x64 — passed. - `cargo xtask policy` — passed. The exact title shaders still need a retest on this combined head. The failure analysis is documented in [victory-fork #203](https://github.com/fxceless/victory-fork/pull/203).
Artking175 commented 2026-11-25 16:13:09 +00:00 (Migrated from github.com)
Author
First-time contributor

Imported from Zettrox/ztrx. Originally posted by Artking175 on 2026-11-25T16:11:11Z.


Offline retest on RTX 2060 (driver 531.41), with app-local Agility SDK 1.608.2 and DXIL validator from DXC 1.8.2505.32. I ran translate --jobs 1 --validate --pipelines --list on the same local 1.0.2.1 shader archive.

The saved 2f46873 build emitted, validated and created PSOs for six of the nine selected containers. With #86 applied, both FP16 inputs (38bf0814e721a1b3, 78f3f2fc53a69531) also passed, bringing the combined build to eight of nine. The remaining compute shader, ceb5eb68cd99cb07, still refuses at 0x38 when its descriptor format is read as data. This was an offline run.

<!-- greyfinch-sync:Zettrox/ztrx:comment:7167668755 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/pull/80#issuecomment-7167668755). Originally posted by [Artking175](https://github.com/Artking175) on 2026-11-25T16:11:11Z. --- Offline retest on RTX 2060 (driver 531.41), with app-local Agility SDK 1.608.2 and DXIL validator from DXC 1.8.2505.32. I ran `translate --jobs 1 --validate --pipelines --list` on the same local 1.0.2.1 shader archive. The saved `2f46873` build emitted, validated and created PSOs for six of the nine selected containers. With #86 applied, both FP16 inputs (`38bf0814e721a1b3`, `78f3f2fc53a69531`) also passed, bringing the combined build to eight of nine. The remaining compute shader, `ceb5eb68cd99cb07`, still refuses at `0x38` when its descriptor format is read as data. This was an offline run.
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/80:upstream-pr/80'
git switch 'upstream-pr/80'

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/80'
git switch 'upstream-pr/80'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/80'
git switch 'upstream-pr/80'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/80'
git switch 'main'
git merge --squash 'upstream-pr/80'
git switch 'main'
git merge --ff-only 'upstream-pr/80'
git switch 'main'
git merge 'upstream-pr/80'
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
Zettrox/ztrx!80
No description provided.