0551a40c36
Instead of always adding storage usage on pre_mod_adjustments and preventing AFBC for all images with usage TRANSFER_DST, only do this when the image doesn't use AFBC, by adding a new post_mod_adjustments pass. Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org> Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37771>