Repository navigation
Conversation
Retain original boykopovar#6971 f65cecd ancestry. Adapt its layout tracking to current shared ownership, device checks, CMASK handling and array/swapped views for focused dependency validation.
Consolidate the previously published initializer and its fault/regression coverage onto the refreshed layout/uploader foundations and the credited boykopovar#6971 dependency composition. Preserve the full snapshot and supported uniform/nonuniform paths, restrict borrowed sampled-view usage and keep current main ownership/device/CMASK handling. Original initializer and test work is preserved at published8068 and its archived history; boykopovar#6971 f65cecd remains an original ancestor. Written with AI assistance.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
419ad89 to
549983f
Compare
77dd406 to
9290696
Compare
|
Hey Marc, I checked the two layout commits on physical Intel and NVIDIA GPUs. They fix the remaining upload/readback failure on my UHD 770. I applied only Windows 11 Pro 26300, GCC 15.2.0 Release, SPIRV-Tools enabled:
Intel's failure is the same The helper still defaults to GENERAL for existing callers. This is synthetic Windows coverage, not a game, full parent-stack, console or Linux/macOS result. AI-assisted qualification and independent review; the implementation remains yours. |
What
This is a stacked follow-up to boykopovar/AnyPS5#6973, based on its head
cafd4f749f68244322404b9468b8cd46bd58715c. The readback implementation and test fixture are introduced by that stack, so this change targets its branch and should be integrated only after the parent stack is accepted.The lower-level
agc_driver_multisample_readback_uploadfixture dispatches directly throughTextureDetiler, outside boykopovar#6973'sMultisampleTarget::Sampled()layout transition. It needs to declare the actual sampled layout in its descriptor and transition the test image around the readback. The API now accepts an image layout while preservingGENERALas the default for existing callers. The fixture uses color or depth read-only layout as appropriate, then restoresGENERAL.This is the outstanding readback-helper case reported in issue #6957. The issue author explicitly authorized carrying the experiment and offered UHD 770/RX 9070 XT retests once a head exists.
Tested
python3 tools/check_conventions.py --base upstream/pr/6973 --head HEAD: passed.git diff --check upstream/pr/6973...HEAD: passed.CheckReadbackchanges as this PR plus additional unmerged test modes, builtagc_driver_multisample_readback_tests. This is integration evidence, not a build of PR test(agc): read multisample surfaces in sampled layouts #3's exact stacked branch.agc_driver_multisample_readback_uploadpassed 1/1 on Mesa llvmpipe (LLVM 15.0.6) withVK_LAYER_KHRONOS_validationloaded. The run exercised supported 4x cases for 1-, 2-, 4-, 8- and 16-byte elements plus padded 17x5-to-64x32 uploads at XOR 0 and 0x8100. The device did not support the tested 2x/8x cases; those subcases were skipped. The log contains no missing-layer message, VUID, or validation error.HostCpu.cpp, then restored; the target was rebuilt with the original guard afterward. No physical-GPU result is claimed; the offered UHD 770/RX 9070 XT retest remains outstanding.Checklist
mainthrough the declared feat(agc): preserve initial native multisample color contents boykopovar/AnyPS5#6973 stack; no open PR implements this readback-layout transition.mdfiles or images added to the repository (attach them to this PR)