panvk: Don't use panfrost_bifrost_swizzle
It's not needed. This produces chooses slightly different formats on v7 but no functional change. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11785>
This commit is contained in:
committed by
Marge Bot
parent
92d2723672
commit
a23603c89d
@@ -47,13 +47,11 @@ panvk_varying_hw_format(const struct panvk_device *dev,
|
||||
case VARYING_SLOT_PSIZ:
|
||||
return (MALI_R16F << 12) |
|
||||
(pdev->quirks & HAS_SWIZZLES ?
|
||||
panfrost_get_default_swizzle(1) :
|
||||
panfrost_bifrost_swizzle(1));
|
||||
panfrost_get_default_swizzle(1) : 0);
|
||||
case VARYING_SLOT_POS:
|
||||
return ((fs ? MALI_RGBA32F : MALI_SNAP_4) << 12) |
|
||||
(pdev->quirks & HAS_SWIZZLES ?
|
||||
panfrost_get_default_swizzle(4) :
|
||||
panfrost_bifrost_swizzle(4));
|
||||
panfrost_get_default_swizzle(4) : 0);
|
||||
default:
|
||||
assert(!panvk_varying_is_builtin(stage, loc));
|
||||
return pdev->formats[varyings->varying[loc].format].hw;
|
||||
|
||||
Reference in New Issue
Block a user