Report the cause of refused pipelines in per-frame draw counts #49
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/PastiiJay--klbf-lab!49
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-49"
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?
@HandshakeHackin on GitHub · 2026-11-25 21:21 UTC · original
HandshakeHackin:diagnostics/pipeline-refusal-counts→beta· +60 −24 · 3 files · 4 commits · openThe RX 580 report in #45 and the NVIDIA reports in #30 count hundreds of dropped draws per frame. Beta can log a pipeline refusal once, but the per-frame diagnostics often record only
refused [shaders]. That makes it hard to tell how many draws were lost to a missing GPU feature or to a D3D12 error.This change records the refusal when the worker builds the pipeline. The diagnostics summary groups explicit compatibility refusals by reason. For driver refusals it includes the operation (root signature, compute, mesh or graphics), HRESULT and shader IDs, so a tester can match the count to the release log. Existing shader-translation and still-building counts keep their labels. Release builds use the existing logging and rendering paths.
Windows verification at
a17d721against betae328c88: I applied the new worker assertion to the original beta and saw the oldrefused []result. On the PR, all four diagnostics worker tests and all three default-feature worker tests passed. The HRESULT test checks that a compute refusal retains0x80070057and the shader hash. Regression and passing testsThe combined Windows run also passed both strict workspace Clippy checks and the 191-file asset check. The full suite had 608 passed, 0 failed and 16 ignored, followed by four passing diagnostics tests. This run included the eight earlier beta fixes, PRs #41–43 and the maintainer’s WARP test correction.
@PastiiJay on GitHub · 2026-11-25 21:23 UTC · original
Thanks a lot @HandshakeHackin, this is the piece that was missing in #30 and #45: per-frame drop counts that name the real refusal (operation, HRESULT, shader IDs) instead of
refused [], so a tester can match them to the release log. And thank you for showing the regression on the original beta first, then the passing tests on the PR.It's a diagnostics-only change, so it won't touch our fps baseline. It goes into our one-change-at-a-time queue; we'll run the diagnostics build on the RX 9070 XT with it and post the breakdown here.
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.