diff options
Diffstat (limited to 'src/compiler/glsl_types.h')
-rw-r--r-- | src/compiler/glsl_types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/compiler/glsl_types.h b/src/compiler/glsl_types.h index f9a377d..4e3afe7 100644 --- a/src/compiler/glsl_types.h +++ b/src/compiler/glsl_types.h @@ -745,6 +745,14 @@ struct glsl_type { */ bool record_compare(const glsl_type *b, bool match_locations = true) const; + /** + * Get the type interface packing. + */ + enum glsl_interface_packing get_interface_packing() const + { + return (enum glsl_interface_packing)interface_packing; + } + private: static mtx_t mutex; |