nir/glsl: Add an explicit_alignment field to glsl_type
[mesa.git] / src / compiler / nir_types.h
index 2df1e2c8b9b55d31ff112743dc6544e6ea00e955..14fae6a5f58099ccc83eb22b1caf4fe4f1f38559 100644 (file)
@@ -122,6 +122,7 @@ 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);
+unsigned glsl_get_explicit_alignment(const struct glsl_type *type);
 
 static inline unsigned
 glsl_get_bit_size(const struct glsl_type *type)