nir/lower_locals_to_regs: fixup for new foreach_block()
[mesa.git] / src / compiler / nir_types.cpp
index 70e9cd397fc3bb042912ef0e831df4382155b195..62a1071e444c4166e106541b89e801ed467a1533 100644 (file)
@@ -126,9 +126,9 @@ 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)
 {
-   return type->count_attribute_slots(vertex_input_slots);
+   return type->count_attribute_slots(is_vertex_input);
 }
 
 const char *