summaryrefslogtreecommitdiff
path: root/src/compiler/nir_types.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2016-04-12 15:26:06 -0700
committerMatt Turner <mattst88@gmail.com>2016-04-13 11:00:21 -0700
commit9bac27dbf92d32cd8685868d21d0317a5a56f333 (patch)
tree638589d26ee5bef6a6d60e1093f7a610a9293bbc /src/compiler/nir_types.h
parent9586468c03ba9d0c488882eba1d870acd7adfd9e (diff)
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 <timothy.arceri@collabora.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Diffstat (limited to 'src/compiler/nir_types.h')
-rw-r--r--src/compiler/nir_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir_types.h b/src/compiler/nir_types.h
index 5efdd85dea5..851096f9cc0 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);