gallium/tgsi: Add a helper for initializing ureg from a shader_info.
[mesa.git] / src / compiler / nir_types.h
index 5e4da1e8ab354ab4e17ba5eb450dfc6efd4c8345..8d82f492e02f9f1e91008d6b593cba164664e077 100644 (file)
@@ -118,6 +118,9 @@ int glsl_get_cl_size(const struct glsl_type *type);
 
 int glsl_get_cl_alignment(const struct glsl_type *type);
 
+void glsl_get_cl_type_size_align(const struct glsl_type *type,
+                                 unsigned *size, unsigned *align);
+
 unsigned glsl_get_explicit_size(const struct glsl_type *type, bool align_to_stride);
 
 static inline unsigned