feat(agc): render into one depth slice of a 3D color target #449
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/449"
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 MichonGoddijn231849 on 2026-10-03T09:32:32Z.
What
A color target whose
CB_COLOR_ATTRIB3resource type is 3D was refused withunsupported color depth, dimension, resource level or metadata mode. GTA V renders a 32x32x322_10_10_10volume this way, one depth slice per color view, while loading.DecodeColorTileModeaccepts resource type 3D (any depth); type 2D still requires depth 0.DecodeColorBufferreads the depth and takes the view slice as the depth slice (ColorTarget::depth,depthSlice). The surface address is not moved by the slice, as for array slices. Mipmapped and DCC 3D targets throw, and so does a slice beyond the depth.SurfaceForTargetdescribes the target as a 3D surface. The resident storage image is attached through a 2D view of the depth slice. A 3D target without a resident image throws.2D_ARRAY_COMPATIBLEand can be color attachments.StorageTexture::AttachmentViewtakes the depth slice, and its view cache key includes it.Tested
Windows 11 Pro, AMD Ryzen 5 7600, NVIDIA GeForce RTX 5080 (driver 32.0.16.1074), 32 GB DDR5-5600, MinGW-w64 GCC 15.2.0.
ctest: all tests pass.agc_driver_graphicschecks the new decode:Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-04T15:23:19Z.
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.
main)core/libs/prx/libSceAgcDriver/Graphics/include/State.hppL50Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-04T22:38:03Z.
Thanks. Its own commit has exactly the content that passed my PPSA21564 check, on top of #377 (carried unchanged), and it builds and passes ctest here on current main. Ready to merge right after #377. The red Windows job is the
guest_audio_in_no_deviceflake that #532 fixed, so a re-run should clear it.