Report unsupported pixel-shader barycentrics on pipeline refusal #431

Open
github-bot wants to merge 1 commit from github-bot/gh-431 into a-publier AGit
Owner

@⁠loyodea on GitHub · 2026-11-27 01:07 UTC · original
loyodea:victory-barycentrics-capability → a-publier · +80 −5 · 2 files · 1 commits · open

Report the selected D3D12 device’s barycentrics capability at startup. A host query can report support, lack of support, or an unknown capability.

On a final mesh or vertex graphics-pipeline E_INVALIDARG, add a reason if the pixel shader’s submitted DXIL declares the barycentrics requirement and the host explicitly reports that it lacks support. Preserve the HRESULT, driver messages, and fallback paths.

Related to #399. This change helps diagnose pipeline refusals on Intel Arc and other affected adapters. Rendering support on those adapters remains open.

Verification

The classification regression and four neighboring pipeline tests passed. Default-feature cargo check passed using pinned Rust 1.98.1 for Windows GNU.

Original DXC pixel shaders confirmed the feature bit for SV_Barycentrics and GetAttributeAtVertex, and confirmed its absence for ordinary interpolation.

The independent review reran the classification regression and drove the classifier with three fresh compiled pixel-shader containers. No Intel Arc adapter was available for a hardware run.

Synthetic fixtures only. No game files were used or run.

AI-assisted with Codex.

**@⁠loyodea** on GitHub · 2026-11-27 01:07 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/431) `loyodea:victory-barycentrics-capability` → `a-publier` · +80 −5 · 2 files · 1 commits · open Report the selected D3D12 device’s barycentrics capability at startup. A host query can report support, lack of support, or an unknown capability. On a final mesh or vertex graphics-pipeline `E_INVALIDARG`, add a reason if the pixel shader’s submitted DXIL declares the barycentrics requirement and the host explicitly reports that it lacks support. Preserve the HRESULT, driver messages, and fallback paths. Related to #399. This change helps diagnose pipeline refusals on Intel Arc and other affected adapters. Rendering support on those adapters remains open. ## Verification The classification regression and four neighboring pipeline tests passed. Default-feature `cargo check` passed using pinned Rust 1.98.1 for Windows GNU. Original DXC pixel shaders confirmed the feature bit for `SV_Barycentrics` and `GetAttributeAtVertex`, and confirmed its absence for ordinary interpolation. The independent review reran the classification regression and drove the classifier with three fresh compiled pixel-shader containers. No Intel Arc adapter was available for a hardware run. Synthetic fixtures only. No game files were used or run. AI-assisted with Codex.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 01:33:25 +00:00
Author
Owner

@⁠MamaLeVrai on GitHub · 2026-11-27 02:22 UTC · original

Tested on an RX 6950 XT (RDNA 2), driver 32.0.21045.29003, Windows 11 build 26300, Rust 1.98.1, release. At 7bd19bd: cargo test --release -p victory-gpu --lib 397 passed, 0 failed, 34 ignored.

AI-assisted (Claude Code); no game data.

**@⁠MamaLeVrai** on GitHub · 2026-11-27 02:22 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/431#issuecomment-7208063432) Tested on an RX 6950 XT (RDNA 2), driver 32.0.21045.29003, Windows 11 build 26300, Rust 1.98.1, release. At `7bd19bd`: `cargo test --release -p victory-gpu --lib` 397 passed, 0 failed, 34 ignored. AI-assisted (Claude Code); no game data.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/431/head:github-bot/gh-431'
git switch 'github-bot/gh-431'

Merge

Merge the changes and update on Forgejo.
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-431'
git switch 'github-bot/gh-431'
git rebase 'a-publier'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-431'
git switch 'github-bot/gh-431'
git rebase 'a-publier'
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-431'
git switch 'a-publier'
git merge --squash 'github-bot/gh-431'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-431'
git switch 'a-publier'
git merge 'github-bot/gh-431'
git push origin 'a-publier'
This discussion has been locked. Commenting is limited to contributors.
No description provided.