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.cpp | |
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.cpp')
-rw-r--r-- | src/compiler/glsl/ir.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/glsl/ir.cpp b/src/compiler/glsl/ir.cpp index 5b38a711494..590d2ad1c4b 100644 --- a/src/compiler/glsl/ir.cpp +++ b/src/compiler/glsl/ir.cpp @@ -1729,6 +1729,8 @@ ir_variable::ir_variable(const struct glsl_type *type, const char *name, this->data.memory_restrict = false; this->data.from_ssbo_unsized_array = false; this->data.fb_fetch_output = false; + this->data.bindless = false; + this->data.bound = false; if (type != NULL) { if (type->is_interface()) |