AGC: native multisample D32 depth without stencil or HTILE over an uneven plane is refused at its first sample (Aphelion PPSA13446) #18127
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 arthur-paraibano on 2026-11-10T14:46:46Z.
What happens
Sampling a 4x multisampled
D32_SFLOATdepth target that has no stencil plane and no HTILE throwscompute shader 0x17c02a0000: AGC graphics: native multisample depth initial import requires pipe-aligned or depth-only HTILE without VRS; DISPATCH_INDIRECT on queue 0x0, arguments at 0x1ec0f40000, driver path gpu-side, read-ahead none, and the title ends with 0xC0000409 shortly after gameplay starts.Title, test or build step
Aphelion PPSA13446 01.003.000
AnyPS5 commit
706573b02f(main), no pull requests on top. Also seen three times one1f012ca16.System
Windows 11 Pro 10.0.26200, AMD Ryzen 7 9800X3D, AMD Radeon RX 9070 XT, AMD proprietary driver 26.8.1 (LLPC), WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh r7), Release.
Host report
Steps to reproduce
relinker --windows(no extra options); run withAPS5_PROFILE_DRAW=1 APS5_LOG_TIMESTAMPS=1 ANYPS5_HOST_REPORT=1.e1f012ca16with warm caches, one on706573b02f). The executable was converted with the relinker ofe1f012ca16and run with the libraries of706573b02f.On
e1f012ca16with empty pipeline caches, the first run instead ended at the engine's render-thread watchdog (GameThread timed out waiting for RenderThread after 120.00 secs) while the AMD driver builds compute pipelines of 229k to 281k SPIR-V words in 2.5 to 3.5 s each; the next run passes that point.Log
What was checked
A temporary local print in
prepareDepthSamplingone1f012ca16(not part of any change) showed the refused target:The target has no HTILE, so
prepareDepthSamplingrefuses it with the HTILE message:uniformPlaneTargetonly routesD32_SFLOAT_S8_UINTwith a stencil plane to the no-HTILE path. Routing a D32 target without stencil there would not be enough here, because its plane does not repeat one value at import; the uneven-plane proof fromb61aa1e53b(sentinel stencil read back after an overwriting first draw) has no stencil aspect to use for a depth-only target. The refusal is the same on706573b02f(DepthSurface.cppline 409).Related debt:
docs/dev/debt/libSceAgcDriver.mdentries "Native multisampled depth sampling" and "Native multisampled D32S8 depth without HTILE".