diff --git a/src/gallium/drivers/lima/standalone/glsl.cpp b/src/gallium/drivers/lima/standalone/glsl.cpp index 3cef68277ce..7b929e9b074 100644 --- a/src/gallium/drivers/lima/standalone/glsl.cpp +++ b/src/gallium/drivers/lima/standalone/glsl.cpp @@ -37,5 +37,5 @@ lima_do_glsl_optimizations(struct exec_list *ir) int st_glsl_type_size(const glsl_type *type, bool bindless) { - return type->count_attribute_slots(false); + return glsl_count_attribute_slots(type, false); }