diff options
author | Samuel Pitoiset <[email protected]> | 2017-03-21 13:30:49 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-05-06 16:40:19 +0200 |
commit | 115d938cea5f362c3c078bcc6e75da1245aa6675 (patch) | |
tree | 10646e5d45ad873e009b67df7d9bda70bf2f1849 /src/compiler/glsl/ir.h | |
parent | cf52b8cd21172e2fc54cb762f2bab18cef217a75 (diff) |
glsl: process bindless/bound layout qualifiers
This adds bindless_sampler and bound_sampler (and respectively
bindless_image and bound_image) to the parser.
v3: - add an extra space in apply_bindless_qualifier_to_variable()
- fix indentation in merge_qualifier()
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir.h')
-rw-r--r-- | src/compiler/glsl/ir.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir.h b/src/compiler/glsl/ir.h index 5a5729cdbe3..7e125e60d42 100644 --- a/src/compiler/glsl/ir.h +++ b/src/compiler/glsl/ir.h @@ -850,6 +850,18 @@ public: unsigned fb_fetch_output:1; /** + * Non-zero if this variable is considered bindless as defined by + * ARB_bindless_texture. + */ + unsigned bindless:1; + + /** + * Non-zero if this variable is considered bound as defined by + * ARB_bindless_texture. + */ + unsigned bound:1; + + /** * Emit a warning if this variable is accessed. */ private: |