key_hash, stored_key, (void *)t);
}
- auto t = (const glsl_type *) entry->data;
+ const struct glsl_type *t = (const struct glsl_type *) entry->data;
simple_mtx_unlock(&glsl_type_cache_mutex);
assert(t->base_type == base_type);
(void *) t);
}
- auto t = (const glsl_type *) entry->data;
+ const struct glsl_type *t = (const struct glsl_type *) entry->data;
simple_mtx_unlock(&glsl_type_cache_mutex);
assert(t->base_type == GLSL_TYPE_ARRAY);
entry = _mesa_hash_table_insert_pre_hashed(struct_types, key_hash, t, (void *) t);
}
- auto t = (const glsl_type *) entry->data;
+ const struct glsl_type *t = (const struct glsl_type *) entry->data;
simple_mtx_unlock(&glsl_type_cache_mutex);
assert(t->base_type == GLSL_TYPE_STRUCT);
entry = _mesa_hash_table_insert_pre_hashed(interface_types, key_hash, t, (void *) t);
}
- auto t = (const glsl_type *) entry->data;
+ const struct glsl_type *t = (const struct glsl_type *) entry->data;
simple_mtx_unlock(&glsl_type_cache_mutex);
assert(t->base_type == GLSL_TYPE_INTERFACE);
entry = _mesa_hash_table_insert_pre_hashed(subroutine_types, key_hash, glsl_get_type_name(t), (void *) t);
}
- auto t = (const glsl_type *) entry->data;
+ const struct glsl_type *t = (const struct glsl_type *) entry->data;
simple_mtx_unlock(&glsl_type_cache_mutex);
assert(t->base_type == GLSL_TYPE_SUBROUTINE);