lima: Use glsl_type C helpers

Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26707>
This commit is contained in:
Caio Oliveira 2023-12-16 08:04:31 -08:00
parent 7d0d4a494e
commit 6af93b1801

View file

@ -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);
}