Module: Mesa Branch: main Commit: 6af93b1801a31edfc55bb1195ce221e511c3ffa3 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6af93b1801a31edfc55bb1195ce221e511c3ffa3
Author: Caio Oliveira <[email protected]> Date: Sat Dec 16 08:04:31 2023 -0800 lima: Use glsl_type C helpers Acked-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26707> --- 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); }
