Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
return type->component_slots();
}
+unsigned
+glsl_varying_count(const struct glsl_type *type)
+{
+ return type->varying_count();
+}
+
const char *
glsl_get_struct_elem_name(const struct glsl_type *type, unsigned index)
{
unsigned glsl_count_attribute_slots(const struct glsl_type *type,
bool is_gl_vertex_input);
unsigned glsl_get_component_slots(const struct glsl_type *type);
+unsigned glsl_varying_count(const struct glsl_type *type);
const char *glsl_get_struct_elem_name(const struct glsl_type *type,
unsigned index);