GPU: add hardware microbenchmark for card compare shaders #1205
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by ByFxbian on 2026-11-26T00:06:49Z.
Summary
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.