diff options
Diffstat (limited to 'src/compiler/glsl/builtin_functions.cpp')
-rw-r--r-- | src/compiler/glsl/builtin_functions.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/compiler/glsl/builtin_functions.cpp b/src/compiler/glsl/builtin_functions.cpp index 3abbb0c9f2a..cc1432197b9 100644 --- a/src/compiler/glsl/builtin_functions.cpp +++ b/src/compiler/glsl/builtin_functions.cpp @@ -5929,11 +5929,11 @@ builtin_builder::_image_prototype(const glsl_type *image_type, * accept everything that needs to be accepted, and reject cases * like loads from write-only or stores to read-only images. */ - image->data.image_read_only = (flags & IMAGE_FUNCTION_READ_ONLY) != 0; - image->data.image_write_only = (flags & IMAGE_FUNCTION_WRITE_ONLY) != 0; - image->data.image_coherent = true; - image->data.image_volatile = true; - image->data.image_restrict = true; + image->data.memory_read_only = (flags & IMAGE_FUNCTION_READ_ONLY) != 0; + image->data.memory_write_only = (flags & IMAGE_FUNCTION_WRITE_ONLY) != 0; + image->data.memory_coherent = true; + image->data.memory_volatile = true; + image->data.memory_restrict = true; return sig; } @@ -5969,11 +5969,11 @@ builtin_builder::_image_size_prototype(const glsl_type *image_type, * accept everything that needs to be accepted, and reject cases * like loads from write-only or stores to read-only images. */ - image->data.image_read_only = true; - image->data.image_write_only = true; - image->data.image_coherent = true; - image->data.image_volatile = true; - image->data.image_restrict = true; + image->data.memory_read_only = true; + image->data.memory_write_only = true; + image->data.memory_coherent = true; + image->data.memory_volatile = true; + image->data.memory_restrict = true; return sig; } @@ -5994,11 +5994,11 @@ builtin_builder::_image_samples_prototype(const glsl_type *image_type, * accept everything that needs to be accepted, and reject cases * like loads from write-only or stores to read-only images. */ - image->data.image_read_only = true; - image->data.image_write_only = true; - image->data.image_coherent = true; - image->data.image_volatile = true; - image->data.image_restrict = true; + image->data.memory_read_only = true; + image->data.memory_write_only = true; + image->data.memory_coherent = true; + image->data.memory_volatile = true; + image->data.memory_restrict = true; return sig; } |