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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user