Skip to content

anv,hasvk,iris: sampler_prog_key::swizzles is only used on crocus

Faith Ekstrand requested to merge gfxstrand/mesa:intel/no-swizzle-tex into main

What does this MR do and why?

anv,hasvk,iris: sampler_prog_key::swizzles is only used on crocus

The field is no longer consumed by brw_complie_* and is instead handled directly by the crocus driver. Therefore, it's safe to leave it zero and not even bother setting it. This removes our reliance on the SWIZZLE_* macros in prog_instructions.h.

Merge request reports