mesa/st: Move the dword slot counting function to glsl_types as well.
[mesa.git] / src / compiler / nir_types.h
index ff4c7fae85a7907d3563802e417aa803066e668c..d61cfeb3978c3b37c7482f8534dc21733bbe5966 100644 (file)
@@ -82,6 +82,7 @@ unsigned glsl_get_aoa_size(const struct glsl_type *type);
 
 unsigned glsl_count_vec4_slots(const struct glsl_type *type,
                                bool is_gl_vertex_input, bool is_bindless);
+unsigned glsl_count_dword_slots(const struct glsl_type *type, bool is_bindless);
 unsigned glsl_count_attribute_slots(const struct glsl_type *type,
                                     bool is_gl_vertex_input);
 unsigned glsl_get_component_slots(const struct glsl_type *type);