diff options
author | Samuel Pitoiset <[email protected]> | 2017-05-03 11:16:57 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-05-04 09:51:25 +0200 |
commit | a5f82db3805ff8e96b04e5b35fc566eac2f0a0a8 (patch) | |
tree | 5bc7b6872edf8c11d128b328b2354b9cba5dc014 /src/compiler/glsl/ir.cpp | |
parent | b546c9d318731b988aa3d8c4e4735cdbb596cfbf (diff) |
glsl: rename image_* qualifiers to memory_*
It doesn't make sense to prefix them with 'image' because
they are called "Memory Qualifiers" and they can be applied
to members of storage buffer blocks.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Andres Gomez <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir.cpp')
-rw-r--r-- | src/compiler/glsl/ir.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/compiler/glsl/ir.cpp b/src/compiler/glsl/ir.cpp index 356eb0fbcfd..6a8b7904934 100644 --- a/src/compiler/glsl/ir.cpp +++ b/src/compiler/glsl/ir.cpp @@ -1722,11 +1722,11 @@ ir_variable::ir_variable(const struct glsl_type *type, const char *name, this->data.max_array_access = -1; this->data.offset = 0; this->data.precision = GLSL_PRECISION_NONE; - this->data.image_read_only = false; - this->data.image_write_only = false; - this->data.image_coherent = false; - this->data.image_volatile = false; - this->data.image_restrict = false; + this->data.memory_read_only = false; + this->data.memory_write_only = false; + this->data.memory_coherent = false; + this->data.memory_volatile = false; + this->data.memory_restrict = false; this->data.from_ssbo_unsized_array = false; this->data.fb_fetch_output = false; @@ -1846,11 +1846,11 @@ ir_function_signature::qualifiers_match(exec_list *params) a->data.centroid != b->data.centroid || a->data.sample != b->data.sample || a->data.patch != b->data.patch || - a->data.image_read_only != b->data.image_read_only || - a->data.image_write_only != b->data.image_write_only || - a->data.image_coherent != b->data.image_coherent || - a->data.image_volatile != b->data.image_volatile || - a->data.image_restrict != b->data.image_restrict) { + a->data.memory_read_only != b->data.memory_read_only || + a->data.memory_write_only != b->data.memory_write_only || + a->data.memory_coherent != b->data.memory_coherent || + a->data.memory_volatile != b->data.memory_volatile || + a->data.memory_restrict != b->data.memory_restrict) { /* parameter a's qualifiers don't match */ return a->name; |