Skip to content

panvk: Rework AFxC texture/sampler swizzle

What does this MR do and why?

Disable texture/sampler swizzle for AFRC, as it should not be required, and limit the AFBC support for v7 to RGB/BGR component orders as opaque black border-colors otherwise cannot be supported due to this swizzling.

The swizzling functionality in texture is hoisted up for each API to have more flexibility in when to apply it.

Edited by Lars-Ivar Hesselberg Simonsen

Merge request reports

Loading