Skip to content

panfrost: Don't advertise AFBC mods when the format is not supported

Boris Brezillon requested to merge bbrezillon/mesa:panfrost-afbc-fix into master

On Bifrost, AFBC is not supported if the format has a non-identity swizzle. For internal resources we fix the format at runtime, but this fixup is not applicable when we export the resource. Don't advertise AFBC modifiers on such formats.

Signed-off-by: Boris Brezillon boris.brezillon@collabora.com

Merge request reports

Loading