Tests: keep the D3D12 pipeline smoke check portable under Wine #1266

Closed
github-bot wants to merge 2 commits from gh-pr/1266/head into gh-pr/1266/base
Owner

@⁠BaggyALPHA on GitHub · 2026-11-24 16:56 UTC · original
BaggyALPHA:test/portable-pipeline-smoke → main · +13 −0 · 1 files · 2 commits · closed without merging

The pipeline smoke test now keeps its successful-pipeline check under Wine and runs the existing checksum rejection assertions on native Windows. vkd3d-proton intentionally ignores the DXIL container checksum, so its acceptance of an unsigned or incorrectly signed container does not indicate a pipeline regression. This addresses the failure reported in #1218.

Windows verification used only the repository's synthetic fixture. The focused test ran on WARP, including both native checksum assertions. The shader crate suite passed 120 tests with one ignored. Clippy with all targets and features and the pre-commit asset-policy check passed. Independent Linux verification by @⁠neonbyte1 confirmed that the focused test passes under Wine with vkd3d-proton once #1218 and this PR are applied together. It failed on the same setup with only #1218 applied. The full shader suite passed 120 tests with one ignored. See the Wine test report.

AI-assisted (Codex).

**@⁠BaggyALPHA** on GitHub · 2026-11-24 16:56 UTC · [original](https://github.com/Marvisak/VIctory/pull/1266) `BaggyALPHA:test/portable-pipeline-smoke` → `main` · +13 −0 · 1 files · 2 commits · closed without merging The pipeline smoke test now keeps its successful-pipeline check under Wine and runs the existing checksum rejection assertions on native Windows. vkd3d-proton intentionally ignores the DXIL container checksum, so its acceptance of an unsigned or incorrectly signed container does not indicate a pipeline regression. This addresses the failure reported in #1218. Windows verification used only the repository's synthetic fixture. The focused test ran on WARP, including both native checksum assertions. The shader crate suite passed 120 tests with one ignored. Clippy with all targets and features and the pre-commit asset-policy check passed. Independent Linux verification by @⁠neonbyte1 confirmed that the focused test passes under Wine with vkd3d-proton once #1218 and this PR are applied together. It failed on the same setup with only #1218 applied. The full shader suite passed 120 tests with one ignored. See [the Wine test report](https://git.gtahub.st/github/Marvisak--VIctory/pulls/1266). AI-assisted (Codex).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:25:39 +00:00
github-bot closed this pull request 2026-11-26 04:25:39 +00:00
Author
Owner

@⁠BaggyALPHA on GitHub · 2026-11-24 17:11 UTC · original

Windows CI is green. I also rechecked the relative-path fix from #1218 with a Windows command-capture harness. Both Cargo invocations now receive the expected SDK search paths when xtask starts outside the repository root.

@⁠neonbyte1, could you run the focused pipeline smoke test with #1218 and this PR applied together on your Wine/vkd3d-proton setup? A pass for emit::tests::stub_pipeline_is_created would verify the runtime branch this PR changes. The existing synthetic fixture is sufficient.

AI-assisted (Codex).

**@⁠BaggyALPHA** on GitHub · 2026-11-24 17:11 UTC · [original](https://github.com/Marvisak/VIctory/pull/1266#issuecomment-7138825155) Windows CI is green. I also rechecked the relative-path fix from #1218 with a Windows command-capture harness. Both Cargo invocations now receive the expected SDK search paths when xtask starts outside the repository root. @⁠neonbyte1, could you run the focused pipeline smoke test with #1218 and this PR applied together on your Wine/vkd3d-proton setup? A pass for `emit::tests::stub_pipeline_is_created` would verify the runtime branch this PR changes. The existing synthetic fixture is sufficient. AI-assisted (Codex).
Author
Owner

@⁠neonbyte1 on GitHub · 2026-11-24 18:06 UTC · original

@⁠BaggyALPHA sure, give me a moment because I'm currently in a session solving a few shader related issues.

**@⁠neonbyte1** on GitHub · 2026-11-24 18:06 UTC · [original](https://github.com/Marvisak/VIctory/pull/1266#issuecomment-7140176324) @⁠BaggyALPHA sure, give me a moment because I'm currently in a session solving a few shader related issues.
Author
Owner

@⁠neonbyte1 on GitHub · 2026-11-24 18:38 UTC · original

Ran on Linux: Wine 11.22, vkd3d-proton from GE-Proton11-14, RTX 5090, driver 620.73.04. The tree was ffe310e + #1218 (037185c, d27b279) + this PR (f14fdfb), with tests run via cargo xtask wine-test --vkd3d-proton … -- -p victory-shader.

  • With this PR, emit::tests::stub_pipeline_is_created passes. The pipeline is created and the test logs pipeline created under Wine. Skipping native D3D12 checksum checks.
  • Without it, on the same tree minus f14fdfb, the test fails at emit/mod.rs:597 with digest [00, …, 00] accepted. vkd3d-proton takes the zeroed hash, so the skip is needed.
  • Full victory-shader suite with this PR: 120 passed, 0 failed, 1 ignored (bench_write).

AI-assisted (Claude).

**@⁠neonbyte1** on GitHub · 2026-11-24 18:38 UTC · [original](https://github.com/Marvisak/VIctory/pull/1266#issuecomment-7140937315) Ran on Linux: Wine 11.22, vkd3d-proton from GE-Proton11-14, RTX 5090, driver 620.73.04. The tree was `ffe310e` + #1218 (`037185c`, `d27b279`) + this PR (`f14fdfb`), with tests run via `cargo xtask wine-test --vkd3d-proton … -- -p victory-shader`. - **With this PR,** `emit::tests::stub_pipeline_is_created` passes. The pipeline is created and the test logs `pipeline created under Wine. Skipping native D3D12 checksum checks.` - **Without it,** on the same tree minus `f14fdfb`, the test fails at `emit/mod.rs:597` with `digest [00, …, 00] accepted`. vkd3d-proton takes the zeroed hash, so the skip is needed. - **Full `victory-shader` suite with this PR:** 120 passed, 0 failed, 1 ignored (`bench_write`). _AI-assisted (Claude)._
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 00:36 UTC · original

Automated triage for the maintainers. Closing because it is outside the project's scope (VIctory targets Windows hosts; ports, launchers and tooling for other platforms are not being taken).

Skips the container-checksum assertions of one test when ntdll exports wine_get_version. Wine/Proton test support is outside the project's scope (it belongs to the unmerged Linux wine-test PR #1218) and it changes nothing on Windows.

If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

**@⁠Marvisak** on GitHub · 2026-11-25 00:36 UTC · [original](https://github.com/Marvisak/VIctory/pull/1266#issuecomment-7148681889) Automated triage for the maintainers. Closing because it is outside the project's scope (VIctory targets Windows hosts; ports, launchers and tooling for other platforms are not being taken). Skips the container-checksum assertions of one test when ntdll exports wine_get_version. Wine/Proton test support is outside the project's scope (it belongs to the unmerged Linux wine-test PR #1218) and it changes nothing on Windows. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!1266
No description provided.