summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/glsl_parser.yy
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-02-23 19:04:52 +0100
committerSamuel Pitoiset <[email protected]>2017-02-27 19:33:10 +0100
commitde2727925a5b69e7c7fa1fee3c7e7ad0cbabcb02 (patch)
tree50838199a7317998372f49d032e0155e43955a2c /src/compiler/glsl/glsl_parser.yy
parentea8086861f87d26185c01d3ac4a0951bb41dd9d3 (diff)
glsl: add has_shader_image_load_store()
Preliminary work for ARB_bindless_texture which can interact with ARB_shader_image_load_store. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glsl_parser.yy')
-rw-r--r--src/compiler/glsl/glsl_parser.yy3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/glsl/glsl_parser.yy b/src/compiler/glsl/glsl_parser.yy
index db291655180..146c9628973 100644
--- a/src/compiler/glsl/glsl_parser.yy
+++ b/src/compiler/glsl/glsl_parser.yy
@@ -1318,8 +1318,7 @@ layout_qualifier_id:
}
/* Layout qualifiers for ARB_shader_image_load_store. */
- if (state->ARB_shader_image_load_store_enable ||
- state->is_version(420, 310)) {
+ if (state->has_shader_image_load_store()) {
if (!$$.flags.i) {
static const struct {
const char *name;