agx: optimize txl LOD

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36257>
This commit is contained in:
Alyssa Rosenzweig
2025-07-17 13:47:49 -04:00
committed by Marge Bot
parent 2dd91b0d1c
commit 1ded5f55e8
-2
View File
@@ -2184,8 +2184,6 @@ agx_lod_mode_for_nir(nir_texop op, bool biased, bool min_lod, bool lod_is_zero)
case nir_texop_txd:
return min_lod ? AGX_LOD_MODE_LOD_GRAD_MIN : AGX_LOD_MODE_LOD_GRAD;
case nir_texop_txl:
assert(!min_lod);
return AGX_LOD_MODE_LOD_MIN;
case nir_texop_txf:
assert(!min_lod);
return lod_is_zero ? AGX_LOD_MODE_AUTO_LOD : AGX_LOD_MODE_LOD_MIN;