The duplicate ColorTarget::cmaskAddress, decode and size helper are gone: multisampled targets use main's cmaskAddress/cmaskBytes (whole metablocks). Single-sample targets keep main's rule (CMASK under FAST_CLEAR); a multisampled one takes it under FAST_CLEAR or COMPRESSION. A zero fill of the whole CMASK clears at the next use, 0xFFFFFFFF marks it expanded, any other or partial fill refuses the next use; eliminate/DCC passes over a multisampled target and a CB resolve into a fast-clear destination are refused. The draw key adds CMASK_BASE_EXT (0x398), which main decodes but did not key. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| dev | ||
| user | ||