Repository navigation
feat(agc): snapshot resident multisample color bytes - #6987
oneandonlydean merged 9 commits into
Conversation
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
Runtime datapoint on NVIDIA hardware. RTX 3070, Ampere, driver 617.42, Windows 11 26200, WinLibs GCC 15.2.0, Release, ANYPS5_NO_SHADER_CACHE=1. Head d577c26, all binaries rebuilt on this head, ctest serial:
13/13 pass on Ampere — snapshot machinery holds on a second NVIDIA family. |
d577c26 to
8e8afdc
Compare
8e8afdc to
1f72288
Compare
1f72288 to
653612c
Compare
653612c to
5ec8692
Compare
❌ AMD GPU test: failedPR head
Failing testsThis PR changes test files, so each failing test was also built and run on main with only the PR's test changes applied. ✅ there means the failure comes from the PR's other changes; ❌ means the test fails on main too, so this run does not show the PR caused it.
agc_driver_native_color_snapshot: Timeout (also failed when re-run alone), assertion and diagnosticsUnstable on main (1, these also failed in recent main runs on this machine; not counted against this PR)Failing on main too (9, not counted against this PR)Validated but not compared (4, not in the main baseline's validation pass)Validation IDs already present on main (4 IDs in 557 tests)Skipped (60)ReproduceAutomated build and test on a contributor's AMD machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
bd7c89d to
fecae29
Compare
|
11 November later: |
✅ NVIDIA GPU test: passedPR head
Unstable on main (1, these also failed in recent main runs on this machine; not counted against this PR)Failing on main too (3, not counted against this PR)Validated but not compared (8, not in the main baseline's validation pass)Validation IDs already present on main (9 IDs in 587 tests)Skipped (51)ReproduceAutomated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
fecae29 to
cd95cc2
Compare
# Conflicts: # docs/dev/debt/libSceAgcDriver.md
What
11 November later source:
694877799d7a645a2492fca43af2473894e566c6on tested main2ecc68bda2642fbd5b4c9fb799bc1da4aa3df191. Focused topic diff. 10 GPU testcase passes, 0 failures, 0 skips on physical RTX5080/AMD iGPU. Original four #15964 recurrence cases pass on both; native-depth fixture remains identical to main. Production AGC/libc/kernel/relinker, real selected fixtures, Graphics/cache CPU, conventions and whitespace pass. Source pins, commands, device/layer proof and full logs. No fresh all-library/full-suite or title/FPS claim; unaffected earlier initializer/control/analyzer evidence retains its original pins.AI-assisted: yes, Codex.
Use the saved guest footprint supplied by the merged first-draw initializer (#15985/#15986/#16086); this path adds no constructor-time guest read. Retain and account for that baseline during the resident target's lifetime, read completed native samples through an unsigned array view, then retile them over the original footprint or a recognized full fill. Preserve padding, guest bytes and native access guards; this prepares bytes without publishing or retiring ownership.
The current GENERAL layout contract is retained. View-only creation with no baseline refuses guest-footprint snapshots; unsupported snapshot metadata/tiling, EQAA/array/volume/mip readback, invalid capabilities/subresources, another active recorder and completion reentry throw. Callers must keep mappings alive during comparisons; concurrent unsynchronized changes and console equivalence remain unverified in library debt.
Next consumer: #6989's publisher consumes ColorSnapshot's original/current pair; #6995 and #7002 wire automatic readers afterward. The refreshed publisher supplies short mapping leases around comparisons and preserves precommit checks. CPU/buffer consumers are refreshed separately; #7002 retains its declared foreign-depth integration gate.
Focused snapshot topic against tested main. The initializer prerequisite is merged; this PR now depends on main. The history before the initializer split is archived. #9508 remains heap integration coordination; no duplicate snapshot or combined heap result is claimed. Host behavior follows image-copy rules, compatible views and completion before host invalidation, using the existing readback kernel/layout.
Tested
Earlier 7/8 November qualification retains its own source pins below; the current 11 November qualification is above.
Final head
3ef1d53197127bc18238c98b95dfe19391656d9fincludes tested main090f57166adb9692d27d16662a89ccc33a502406. 14 final-head physical-GPU processes pass on NVIDIA RTX5080 and AMD Radeon Graphics iGPU. The earlier headbc49e63a184b402e749d195a7305cd4c79da582epassed18 processes on main4977f640527d606eacae4d948c3be22262a40e77; those are separate source pins. The source-specific selections, commands and logs are in the recurrence/sweep report. Matched main runs46 processes at the first pin and18 at the final pin across the whole sweep; new capability registrations absent on main are counted separately.All4 #15964 regression groups pass on both GPUs at this final head. Their refusal helper, expected alias message and aliased-depth/publication assertion bodies are unchanged from the final main. The initializer merge removed no lines from that fixture and added owner-survival checks. This does not restore the reverted ordinary-constructor guest capture or use changed expected errors to hide its failure. Current main and all6 pending PR heads pass these same cases; the historical original-restoration control retains its earlier8 expected failures and source pin.
Configured native libraries/relinker and selected real execution fixtures build. Graphics/cache CPU checks, conventions and whitespace pass. Windows11 Enterprise26200,GCC15.2/UCRT Release; RTX5080/621.01(32.0.16.2101),AMD1002:13c0/26.10.1(32.0.21045.16010). Required Vulkan, app shader cache/journal off, loaded Khronos1.4.363 instance/device layers and physical devices verified per GPU process. No qualified skips/timeouts,VUID/SYNC hazards or validation warning/error. Successful observed tests are below30s; inherited explicit180s readback/snapshot/publication properties retain the maintainer's setting.
Earlier controls and independent Linux/RADV reports retain their actual heads. The upstream initializer-merge Linux log shows all4 old cases and7 initializer groups pass before cancellation; its full job remains cancelled, and Windows CI skipped those GPU cases. Fresh local hardware evidence is separate from full hosted CI, updated independent RADV timing, console equivalence or a title/FPS claim. No new full-stack claim.
This focused topic has the same stable patch ID as the preceding submitted contribution; main and its already merged initializer prerequisites were refreshed. The earlier consumer/control evidence and publisher controls keep their original pins. #7002’s foreign-depth port/joint qualification and heap coordination remain separate.
Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)