GPU: add hardware microbenchmark for card compare shaders #1208
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/fxceless--victory-fork!1208
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1208"
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?
@ByFxbian on GitHub · 2026-11-26 00:06 UTC · original
ByFxbian:bench/card-hash-hardware→main· +517 −2 · 2 files · 2 commits · openSummary
Adds an opt-in hardware microbenchmark comparing the existing
CARD_COMPAREandCARD_COMPARE_WIDEshaders from #1014.No production shader code, runtime behavior, defaults or dependencies are changed.
Hardware and results
Median GPU execution time per pass, compare-and-store mode, without the debug layer:
The wide implementation was faster in all 21 tested configurations. Repeated measurements confirmed the overall improvement.
Validation
dc4c0fcd.Existing upstream failures
A separate, unmodified upstream worktree was tested for comparison:
Both branches reproduce the same existing test failures:
warp_budget_saturates_without_wraparound_and_preserves_draw_fields(related: #849, #847)written_pages_are_reported_to_every_asker(related: #1008)The repository-wide asset policy also reports two existing oversized diagnostic logs on both branches.
These unrelated failures are not addressed by this PR.
Reproduction
Enable D3D12 debug validation with:
Limitations
These measurements are not gameplay FPS measurements. No commercial game files were used.
AI-assisted implementation using OpenAI Codex and ChatGPT. All hardware measurements were performed locally.
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.