X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2Fnir_types.cpp;fp=src%2Fcompiler%2Fnir_types.cpp;h=432c65a7cdd40641efc87a4c68003d68ca25d0cf;hb=262b611a5bb08ebb8d2876bc44a44952d610a248;hp=36720686eb72414a8f155aa936795c2b99891e2d;hpb=a02d8e040fb6cbf43a75932104e2b49807723280;p=mesa.git diff --git a/src/compiler/nir_types.cpp b/src/compiler/nir_types.cpp index 36720686eb7..432c65a7cdd 100644 --- a/src/compiler/nir_types.cpp +++ b/src/compiler/nir_types.cpp @@ -772,6 +772,13 @@ glsl_type_get_image_count(const struct glsl_type *type) 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) {