From 6af93b1801a31edfc55bb1195ce221e511c3ffa3 Mon Sep 17 00:00:00 2001 From: Caio Oliveira Date: Sat, 16 Dec 2023 08:04:31 -0800 Subject: [PATCH] lima: Use glsl_type C helpers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Acked-by: Marek Olšák Part-of: --- src/gallium/drivers/lima/standalone/glsl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }