Repository navigation
feat(agc): preserve uniform initial multisample draw contents - #15986
2 commits merged into
Conversation
|
On RADV/RX 9060 XT, the uniform initial-color test preserves drawn and untouched samples at 2x, 4x and 8x, three runs each, with guest bytes and padding unchanged. Head Sensitivity: retaining the merged tree and its new tests but restoring Host: CachyOS Linux ReproductionBuild the export ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1
export VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer
export VK_LAYER_PATH="$HOME/.local/share/anyps5-tester/vk-layers/usr/share/vulkan/explicit_layer.d"
ctest --test-dir build-main -V -R '^agc_driver_(sample_multisample_target|depth_storage_dispatch|multisampled_pass_order|native_multisample_depth|pass_break_reasons|native_color_initial_uniform|native_color_initial_uniform_refusals|native_color_initial_uniform_hook)$'Limits: synthetic tests, not a game, performance measurement or console-hardware confirmation. The control demonstrates the stated first-draw case, not all aliasing or concurrent-use behavior. AI-assisted independent hardware test run (GPT-6.1 Terra). |
|
Windows check of head Setup: Windows 11 Enterprise 22621, WinLibs GCC 15.2 UCRT, Release, Radeon RX 6700 XT, run with
I did not test #15985's head separately from this branch. AI-assisted: yes. |
✅ NVIDIA GPU test: passedPR head
Unstable on main (4, 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 (3, not in the main baseline's validation pass)Validation IDs already present on main (9 IDs in 550 tests)Skipped (55)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. |
2823f1e to
ee69182
Compare
✅ NVIDIA GPU test: passedPR head
Failing on main too (3, not counted against this PR)Validated but not compared (3, not in the main baseline's validation pass)Validation IDs already present on main (9 IDs in 588 tests)Skipped (53)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. |
ee69182 to
af5bfe4
Compare
|
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.
|
f67245a
What
Preserve an exactly representable texel repeated over the complete mapped plain multisample color footprint at its first actual draw. Main clears the new native image to zero, so a partial draw loses the untouched initial samples. This slice captures outside the targets lock, checks depth/color ownership without retiring it, and initializes through the existing exact native clear. Nonuniform, unmapped, unsupported and unresolved-alias inputs throw.
This replaces only the uniform initial-draw part of reverted #6973. It excludes nonuniform R_X uploads, staging lifetime/accounting, guest publication and generic sampled-layout changes. The first commit is test-only prerequisite #15985; the feature itself is one commit. The nonuniform follow-up is now #16086; #6987 now supplies the saved-baseline/readback adaptation. #6989/#6995/#7002 still need their publisher/consumer refresh; this PR alone does not unblock that stack.
Attribution: StepFPV's depth-owner diagnosis and overlap-query idea informed the nonmutating preflight; this does not adopt the proposed zero-clear fallback. Host clear behavior follows vkCmdClearColorImage using existing AnyPS5 footprint/format conversion. Console equivalence and remaining paths are recorded in library debt.
Tested
Final head
af5bfe4e5e74e2ff57a7726e6d013452904e7b92is based on main07fae3d172f4ffcdd8fb0eed76a475a8630e716d. The first pinned refresh at main6185bdcfc4e05bbc5a7b61a74ba6345f941a2b6epassed 22 physical-GPU processes; the focused follow-up on this final head passes 16, with the exact group/source breakdown in the sweep report, commands, raw logs and hashes. Both use RTX5080 and AMD iGPU on the same machine. Main controls pass32 processes at the first pin and26 at the final pin; absent new capability registrations are not counted as main passes.The final selection includes all three uniform/refusal/capture-hook groups, the four #15964 depth regression groups and ordinary multisample sampling. Its own feature commit remains separate from #15985. The first comparison also retains the corrected backing/order fixtures. Original alias/view assertions are retained; these are not restored constructor-time guest reads or a generic sampled-layout rewrite.
Full configured native libraries/relinker and the selected real execution targets build. Required Vulkan, app shader cache/journal disabled, serial verbose CTest with30-second bound, loaded Khronos1.4.363 and actual device identity verified per GPU process. No skips, VUIDs, SYNC diagnostics or validation warnings/errors. Selected CPU checks, conventions and whitespace pass. Added/removed topic lines are unchanged by these mechanical updates; no new implementation or title/FPS claim. The newer main changes shared f16 probing/target/request serialization, which is why the focused follow-up was run.
Earlier qualification/fault controls retain their original pins: evidence 1, evidence 2. They are not rerun-control claims at this new head.
The green hosted Windows job is a narrow registration/link/changed-guest-test check; full build, libs and AGC CTest were skipped. Full hosted Linux/Windows validation remains a maintainer action, and older independent reports retain their actual heads.
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)