panvk: Remove lower_tg4_broadcom_swizzle from panvk_preprocess_nir()

We are already applying the .bagr swizzle in bifrost_preprocess_nir(), so
remove lower_tg4_broadcom_swizzle from nir_lower_tex_options in
panvk_preprocess_nir to avoid applying the swizzle twice.

Fixes: 4050697a8f ("panvk: So more nir_lower_tex before descriptor lowering")

Signed-off-by: Rebecca Mckeever <rebecca.mckeever@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34033>
This commit is contained in:
Rebecca Mckeever 2025-03-20 14:36:35 -07:00 committed by Marge Bot
parent 5e02621a8a
commit f450807b68

View file

@ -361,7 +361,6 @@ panvk_preprocess_nir(UNUSED struct vk_physical_device *vk_pdev,
nir_lower_tex_options lower_tex_options = {
.lower_txs_lod = true,
.lower_txp = ~0,
.lower_tg4_broadcom_swizzle = true,
.lower_txd_cube_map = true,
.lower_invalid_implicit_lod = true,
};