diff options
Diffstat (limited to 'src/glsl/builtin_functions.cpp')
-rw-r--r-- | src/glsl/builtin_functions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/builtin_functions.cpp b/src/glsl/builtin_functions.cpp index 2905a35..b9dc959 100644 --- a/src/glsl/builtin_functions.cpp +++ b/src/glsl/builtin_functions.cpp @@ -4293,7 +4293,7 @@ builtin_builder::_image_prototype(const glsl_type *image_type, image->data.image.write_only = flags & IMAGE_FUNCTION_WRITE_ONLY; image->data.image.coherent = true; image->data.image._volatile = true; - image->data.image._restrict = true; + image->data.image.restrict_flag = true; return sig; } |