[Mesa-dev] [PATCH 1/7] ac/surface: handle DCC subresource fast clear restriction on VI

Marek Olšák maraeo at gmail.com
Wed Apr 18 21:11:13 UTC 2018


On Wed, Apr 18, 2018 at 4:44 PM, Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
wrote:

> IIRC if level N is unaligned then num_dcc_levels <= N+1, so level N+1
> is not DCC compressed?
>

There is a difference between being aligned (contiguous really) and being
compressible. Small mip levels might be unaligned but may still
compressible. Non-contiguous can mean that DCC of multiple mip levels is
interleaved in memory. It can't be cleared with memset trivially, but it
can still be compressed.

Marek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180418/d2f88ecd/attachment.html>


More information about the mesa-dev mailing list