feat(agc): fast clear the CMASK of array and layered color targets #8065
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8065"
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 boykopovar/AnyPS5. Originally posted by ArielWolle on 2026-10-19T19:26:49Z.
What
Fast clears the CMASK of array and layered color targets instead of throwing
CMASK fast clears of a 3D or array color target are unsupported. Each layer is cleared through its own CMASK slice: the color address, the CMASK address and the pipe-bank XOR are offset per slice, the CMASK range check covers every layer, and the written-buffer ranges cover all layers. A 3D color target and a slice or array of a mipmapped target still throw, as recorded in the technical debt entry. The per-slice CMASK stride follows Addrlib's slice size and has not been measured on hardware.Stacked on #7254 (layered draws into 2D array color views) and #7668 (CMASK offset of a color target slice); their commits are in this branch until they merge.
Tested
Windows 11, MinGW Release build based on
mainc0adf025b, withANYPS5_REQUIRE_VULKAN=1:ctest -R '^(agc_driver_graphics|agc_driver_cmask_fast_clear)$' --output-on-failure: passed (2/2)ctest -R layered_array_color_draw --output-on-failure: passedpython3 tools/check_conventions.py --base origin/main: 0 errors (the existing debt-length warnings)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)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-19T19:27:10Z.
Thank you for your contribution! Authors with no pull requests merged into
maincan have 1 open pull request at a time, authors with at least 1 merged can have 20, and from 20 merged there is no limit. This PR has been automatically closed and labeled "open PR limit" because that limit was reached. This is not a judgment of the quality of your changes: reopen it once one of your open pull requests is merged or closed.Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-20T08:24:07Z.
This was closed by the open-PR limit while our intake was paused, not on its merits. GitHub won't reopen it because the branch changed after the close, so we'll carry it in a new PR that credits you, and review it under the normal process.
Pull request closed