[Mesa-dev] [PATCH 11/15] glsl: Allow layout token for EXT_shader_framebuffer_fetch_non_coherent.
Francisco Jerez
currojerez at riseup.net
Wed Feb 14 21:18:33 UTC 2018
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
More information about the mesa-dev
mailing list