Merge branch 'master' of ../mesa into vulkan
[mesa.git] / src / glsl / nir / nir_types.cpp
index 69cfac18587d461b866f63403305a21c81f5b8e3..01f0e9b5abcc6a17bdd7fd47423a8349609f1175 100644 (file)
@@ -138,6 +138,13 @@ glsl_get_sampler_result_type(const struct glsl_type *type)
    return (glsl_base_type)type->sampler_type;
 }
 
+unsigned
+glsl_get_record_location_offset(const struct glsl_type *type,
+                                unsigned length)
+{
+   return type->record_location_offset(length);
+}
+
 bool
 glsl_type_is_void(const glsl_type *type)
 {