Skip to content

panfrost: Inline panfrost_get_default_swizzle

Icecream95 requested to merge icecream95/mesa:default_swizzle into master

This commit replaces panfrost_get_default_swizzle with an inlined implementation where the returned values can be determined at compile time.

According to perf, this previously used about 2% CPU for Openarena.

Merge request reports