From 9bac27dbf92d32cd8685868d21d0317a5a56f333 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 12 Apr 2016 15:26:06 -0700 Subject: glsl: Rename "vertex_input_slots" -> "is_vertex_input" vertex_input_slots would be an appropriate name for an integer, but not a bool. Also remove a cond ? true : false from a count_attribute_slots() call site, noticed during the rename. Reviewed-by: Timothy Arceri Reviewed-by: Iago Toral Quiroga --- src/compiler/nir_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/nir_types.h') diff --git a/src/compiler/nir_types.h b/src/compiler/nir_types.h index 5efdd85..851096f 100644 --- a/src/compiler/nir_types.h +++ b/src/compiler/nir_types.h @@ -69,7 +69,7 @@ unsigned glsl_get_length(const struct glsl_type *type); unsigned glsl_get_aoa_size(const struct glsl_type *type); unsigned glsl_count_attribute_slots(const struct glsl_type *type, - bool vertex_input_slots); + bool is_vertex_input); const char *glsl_get_struct_elem_name(const struct glsl_type *type, unsigned index); -- cgit v1.1