EXT_shader_framebuffer_fetch_non_coherent requires layout qualifiers
even on GL(ES) 2.
---
 src/compiler/glsl/glsl_lexer.ll | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/compiler/glsl/glsl_lexer.ll b/src/compiler/glsl/glsl_lexer.ll
index 4b36574b73a..2c2098129fd 100644
--- a/src/compiler/glsl/glsl_lexer.ll
+++ b/src/compiler/glsl/glsl_lexer.ll
@@ -500,7 +500,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);
-- 
2.16.1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to