diff options
author | Samuel Pitoiset <[email protected]> | 2017-04-19 18:39:38 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-05-06 16:40:19 +0200 |
commit | efb668fb293e0cf8401e9a541c67615827974808 (patch) | |
tree | 81a420405b1be604d74a4e46cd7e9f7ae83c83e3 /src/compiler/glsl/ast_to_hir.cpp | |
parent | fa4ebf6b8d93bdf5c47bdaa5d5b3df060d260c6d (diff) |
glsl: allow bindless samplers/images to be l-values
From section 4.1.7 of the ARB_bindless_texture spec:
"Samplers can be used as l-values, so can be assigned into and
used as "out" and "inout" function parameters."
From section 4.1.X of the ARB_bindless_texture spec:
"Images can be used as l-values, so can be assigned into and
used as "out" and "inout" function parameters."
v4: - invert the logic
v3: - update spec comment formatting
- keep the read_only check
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ast_to_hir.cpp')
0 files changed, 0 insertions, 0 deletions