From 0aeec504b484cb37b856dd574974d739f35e968b Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Mon, 12 Feb 2018 15:26:45 -0800 Subject: 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 --- src/compiler/glsl/glsl_lexer.ll | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/compiler/glsl') 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); -- cgit v1.2.3