From 1ded5f55e80559f32a5295bd7bf135f09c1c9191 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 17 Jul 2025 13:47:49 -0400 Subject: [PATCH] agx: optimize txl LOD Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/compiler/agx_compile.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/asahi/compiler/agx_compile.c b/src/asahi/compiler/agx_compile.c index e9363748d4e..f838b6b66ec 100644 --- a/src/asahi/compiler/agx_compile.c +++ b/src/asahi/compiler/agx_compile.c @@ -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;