Report unsupported pixel-shader barycentrics on pipeline refusal #431
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD!431
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-431"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@loyodea on GitHub · 2026-11-27 01:07 UTC · original
loyodea:victory-barycentrics-capability→a-publier· +80 −5 · 2 files · 1 commits · openReport 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 checkpassed using pinned Rust 1.98.1 for Windows GNU.Original DXC pixel shaders confirmed the feature bit for
SV_BarycentricsandGetAttributeAtVertex, 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.
@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 --lib397 passed, 0 failed, 34 ignored.AI-assisted (Claude Code); no game data.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.