WIP: fix(vk): report native shader keys in draw statistics #169
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/upscaling
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
testing wanted
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!169
Loading…
Reference in a new issue
No description provided.
Delete branch "klimovich008/Longshot:codex/longshot-draw-stats378"
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?
Why
Cached-program draw reports hide native shader keys, making suspect draws hard to identify.
What changed
gpu/vk/vk_draw.cpp: snapshot four keys; append grouped rows.tests/test_draw_stats_codes.py: test production blocks with synthetic inputs.docs/development.md: document keys and limits.Flags and settings
RX_VK_DRAW_STATSremains off.Measurements
0c74253d2b04e006Fails on the old code, passes now.
Testing
python -I -B tests/test_draw_stats_codes.py --cxx clang++: Windows, MinGW.Full suite: 483 passed, 5 failed, 35 skipped. All five also fail on unmodified main:
test_nup_paths,test_check_third_party,test_display_pointer,test_texture_staging_publication,test_release.Not tested: this build's gameplay, validation, Linux, NVIDIA/Intel.
Needs other testers: none requested while WIP.
Screenshots
None.
Risk and rollback
Adds 1 MiB of metadata. Revert this commit to remove it.
Issues
Ports https://github.com/NotRexed/Hookshot/pull/2896. No game data is included.
Checklist
For everyone
type(scope): description).main.python -I -B tests/run_all.pyrun and passing (any failure that also fails onmainis named above).third_party/untouched (a new folder with aPROVENANCE.mdinstead).If applicable
Assisted-by:/Co-Authored-By:trailers.mainand passing here.tests/that reads changed source updated in this PR, not weakened.From Codex's review: Source review found no code defect at
684333d3. The production-block C++ fixture fails against main39647e1aand passes with this change, covering snapshot lifetime, distinct tuples, graphics/mesh/compute, inactive recording and query capacity. The full Windows source suite completed in two 4-worker shards: 497 passed, 4 failed, 38 skipped. Failure names are listed in the description; a release recheck with the existing OpenSSL still failed checksum/trust fixtures, so those failures have not been cleared. Longshot gameplay, full validation and a refresh onto the selected new main remain pending. This stays WIP.839e85ff2b' into codex/longshot-draw-stats378Merged the shared test base and reran all source checks: 496 passed, 4 existing main failures, 37 skipped. The focused check fails on the old source and passes here. Gameplay and latest-main refresh remain pending; stays WIP.
Merged current main and resolved the documentation conflict. Full source checks: 483 passed, 5 failed, 35 skipped; all five failures also reproduce on unmodified main. The native-key check fails on old source and passes here. Gameplay and Vulkan validation remain pending; this stays WIP.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.