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 <samuel.pitoiset@gmail.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user