This will be used by the nir glsl linker for linking uniforms.
Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4050>
return 0;
}
+const enum glsl_interface_packing
+glsl_get_internal_ifc_packing(const struct glsl_type *type,
+ bool std430_supported)
+{
+ return type->get_internal_ifc_packing(std430_supported);
+}
+
unsigned
glsl_get_explicit_size(const struct glsl_type *type, bool align_to_stride)
{
const struct glsl_struct_field *
glsl_get_struct_field_data(const struct glsl_type *type, unsigned index);
+const enum glsl_interface_packing
+glsl_get_internal_ifc_packing(const struct glsl_type *type,
+ bool std430_supported);
+
unsigned glsl_get_explicit_stride(const struct glsl_type *type);
const struct glsl_type *glsl_get_array_element(const struct glsl_type *type);
const struct glsl_type *glsl_without_array(const struct glsl_type *type);