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/lower_ubo_reference.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/lower_ubo_reference.cpp')
-rw-r--r-- | src/compiler/glsl/lower_ubo_reference.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/compiler/glsl/lower_ubo_reference.cpp b/src/compiler/glsl/lower_ubo_reference.cpp index bfaddac3add..365b8ebc653 100644 --- a/src/compiler/glsl/lower_ubo_reference.cpp +++ b/src/compiler/glsl/lower_ubo_reference.cpp @@ -411,13 +411,13 @@ lower_ubo_reference_visitor::ssbo_access_params() if (variable->is_interface_instance()) { assert(struct_field); - return ((struct_field->image_coherent ? ACCESS_COHERENT : 0) | - (struct_field->image_restrict ? ACCESS_RESTRICT : 0) | - (struct_field->image_volatile ? ACCESS_VOLATILE : 0)); + return ((struct_field->memory_coherent ? ACCESS_COHERENT : 0) | + (struct_field->memory_restrict ? ACCESS_RESTRICT : 0) | + (struct_field->memory_volatile ? ACCESS_VOLATILE : 0)); } else { - return ((variable->data.image_coherent ? ACCESS_COHERENT : 0) | - (variable->data.image_restrict ? ACCESS_RESTRICT : 0) | - (variable->data.image_volatile ? ACCESS_VOLATILE : 0)); + return ((variable->data.memory_coherent ? ACCESS_COHERENT : 0) | + (variable->data.memory_restrict ? ACCESS_RESTRICT : 0) | + (variable->data.memory_volatile ? ACCESS_VOLATILE : 0)); } } |