diff options
Diffstat (limited to 'src/glsl/ast.h')
-rw-r--r-- | src/glsl/ast.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/glsl/ast.h b/src/glsl/ast.h index ef74e5137b2..c52e518334d 100644 --- a/src/glsl/ast.h +++ b/src/glsl/ast.h @@ -514,6 +514,10 @@ struct ast_type_qualifier { unsigned stream:1; /**< Has stream value assigned */ unsigned explicit_stream:1; /**< stream value assigned explicitly by shader code */ /** \} */ + + /** \name Vulkan qualifiers */ + unsigned vk_set:1; + } /** \brief Set of flags, accessed by name. */ q; @@ -596,6 +600,11 @@ struct ast_type_qualifier { glsl_base_type image_base_type; /** + * Vulkan descriptor set + */ + int set; + + /** * Return true if and only if an interpolation qualifier is present. */ bool has_interpolation() const; |