mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 19:40:10 +01:00
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> (cherry picked from commitf450807b68)
This commit is contained in:
parent
98530340ca
commit
42b6bd48b7
2 changed files with 1 additions and 2 deletions
|
|
@ -374,7 +374,7 @@
|
|||
"description": "panvk: Remove lower_tg4_broadcom_swizzle from panvk_preprocess_nir()",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "4050697a8f4620109388c02cd8e7437f21e12dc4",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -346,7 +346,6 @@ panvk_preprocess_nir(UNUSED struct vk_physical_device *vk_pdev, nir_shader *nir)
|
|||
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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue