summaryrefslogtreecommitdiff
path: root/src/compiler/glsl/ir.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2017-04-27 13:45:16 +0200
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>2017-05-06 16:40:19 +0200
commitcf52b8cd21172e2fc54cb762f2bab18cef217a75 (patch)
treee25f272976758f59d629aed9b81a1e842736370d /src/compiler/glsl/ir.h
parentc618f31065d9e9d0e19afab7de8202ef609a731d (diff)
glsl: do not make sampler/image types readonly variables
In plain GLSL, sampler and image types can only be declared uniform-qualified global variables or 'in' function parameters. Setting the read_only flag seems quite useless because other checks will prevent sampler/image variables to be assigned and also because the flag is not set for atomic_uint types which are opaque types. This will also help for ARB_bindless_texture because samplers and images can be assigned when they are considered bindless. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Diffstat (limited to 'src/compiler/glsl/ir.h')
0 files changed, 0 insertions, 0 deletions