summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2018-02-12 15:26:45 -0800
committerFrancisco Jerez <[email protected]>2018-02-24 15:28:36 -0800
commit0aeec504b484cb37b856dd574974d739f35e968b (patch)
tree7f280cae967844b253ece9426477559600044bf3 /src/compiler/glsl
parent1bc01db95fb5162f01a2c4a9b2473dd7a5eddcd8 (diff)
glsl: Allow layout token for EXT_shader_framebuffer_fetch_non_coherent.
EXT_shader_framebuffer_fetch_non_coherent requires layout qualifiers even on GL(ES) 2. Reviewed-by: Plamena Manolova <[email protected]>
Diffstat (limited to 'src/compiler/glsl')
-rw-r--r--src/compiler/glsl/glsl_lexer.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/glsl/glsl_lexer.ll b/src/compiler/glsl/glsl_lexer.ll
index ed7a80a2bb1..b7cf10018de 100644
--- a/src/compiler/glsl/glsl_lexer.ll
+++ b/src/compiler/glsl/glsl_lexer.ll
@@ -502,7 +502,8 @@ layout {
|| yyextra->ARB_fragment_coord_conventions_enable
|| yyextra->ARB_shading_language_420pack_enable
|| yyextra->ARB_compute_shader_enable
- || yyextra->ARB_tessellation_shader_enable) {
+ || yyextra->ARB_tessellation_shader_enable
+ || yyextra->EXT_shader_framebuffer_fetch_non_coherent_enable) {
return LAYOUT_TOK;
} else {
return classify_identifier(yyextra, yytext, yyleng, yylval);