mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
RADV clears a multisampled DCC target to a color other than 0000, 0001, 1110 or 1111 with radv_clear_dcc_comp_to_single: a compute dispatch stores the color at the first pixel of every DCC block through a uint storage view, and the DCC keys become 0x10. The driver refused that view of a resident target, made a separate target in the view's format otherwise, and couldn't import 0x10 keys. The dispatch is now recognized by its code and not run. Its clear color is recorded for the surface its image descriptor names, and 0x10 keys on a multisampled target of that surface, size and sample count import as a clear to that color, for texels up to 32 bits. Co-Authored-By: Claude Opus 5.5 <[email protected]>