From: Francisco Jerez Date: Mon, 12 Feb 2018 23:26:45 +0000 (-0800) Subject: glsl: Allow layout token for EXT_shader_framebuffer_fetch_non_coherent. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0aeec504b484cb37b856dd574974d739f35e968b;p=mesa.git 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 --- 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);