glsl: rename record_location_offset() -> struct_location_offset()
[mesa.git] / src / compiler / nir_types.cpp
index 5e51dbc2d90a16f3f2bf36452ebeedc97a7d73a9..89028dcaf3de1667a3f428036bf04377c63a7c90 100644 (file)
@@ -192,10 +192,10 @@ glsl_get_sampler_coordinate_components(const struct glsl_type *type)
 }
 
 unsigned
-glsl_get_record_location_offset(const struct glsl_type *type,
+glsl_get_struct_location_offset(const struct glsl_type *type,
                                 unsigned length)
 {
-   return type->record_location_offset(length);
+   return type->struct_location_offset(length);
 }
 
 bool