diff --git a/src/asahi/lib/agx_nir_lower_tess.c b/src/asahi/lib/agx_nir_lower_tess.c index ba504949ab4..4dd1295baf4 100644 --- a/src/asahi/lib/agx_nir_lower_tess.c +++ b/src/asahi/lib/agx_nir_lower_tess.c @@ -7,7 +7,6 @@ #include "util/bitscan.h" #include "util/macros.h" #include "agx_nir_lower_gs.h" -#include "glsl_types.h" #include "libagx_shaders.h" #include "nir.h" #include "nir_builder.h" @@ -246,12 +245,6 @@ lower_tes(nir_builder *b, nir_intrinsic_instr *intr, void *data) } } -static int -glsl_type_size(const struct glsl_type *type, bool bindless) -{ - return glsl_count_attribute_slots(type, false); -} - bool agx_nir_lower_tes(nir_shader *tes, const nir_shader *libagx) {