Files
AnyPS5/docs/dev
PYTHONRETARDEandClaude Opus 5.5 d84a94e6d2 fix(agc): discard a new depth surface's depth before taking storage writes
TakeStorage copies a pending or live storage image over the whole depth
plane of a new single-sample surface, after the creation clear. On AMD's
Windows driver 32.0.31041.1004 (RX 7800 XT), one or two 8x8 blocks of a
D16 surface then tested as the clear value in about 1 of 10 runs of
agc_driver_depth_surface_from_storage, although a copy back of the image
read the copied values (#6630).

Without a stencil plane the copy now goes through an UNDEFINED to
TRANSFER_DST_OPTIMAL barrier on the depth aspect and back to GENERAL, so
the clear's state is discarded before the copy writes every texel. A
surface with a stencil plane keeps the previous path.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-24 17:55:56 +00:00
..