summaryrefslogtreecommitdiff
path: root/GLESv2/yagl_glsl_lexer.l
diff options
context:
space:
mode:
authorVasiliy Ulyanov <v.ulyanov@samsung.com>2016-05-26 13:12:03 +0300
committerVasiliy Ulyanov <v.ulyanov@samsung.com>2016-05-26 15:20:30 +0300
commitba1628f473045ec0f30bd617de57c6a90aeef5bf (patch)
tree87b6f84b1565326f26a67c7b8f0a2c2891931ad8 /GLESv2/yagl_glsl_lexer.l
parent3ebe62f47fa1e765c633425403bb6915ce87b89d (diff)
downloademulator-yagl-ba1628f473045ec0f30bd617de57c6a90aeef5bf.tar.gz
emulator-yagl-ba1628f473045ec0f30bd617de57c6a90aeef5bf.tar.bz2
emulator-yagl-ba1628f473045ec0f30bd617de57c6a90aeef5bf.zip
The former external sampler hadnling did not work correctly with statements like bellow: #define SamplerType samplerExternalOES Using a #define construct in the header for samplerExternalOES seems more appropriate rather than substituing every occurrence. Change-Id: If1c654046ad78011a5148013889f5dc93882a6a9 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Diffstat (limited to 'GLESv2/yagl_glsl_lexer.l')
-rw-r--r--GLESv2/yagl_glsl_lexer.l6
1 files changed, 0 insertions, 6 deletions
diff --git a/GLESv2/yagl_glsl_lexer.l b/GLESv2/yagl_glsl_lexer.l
index fdca03e..b3508d6 100644
--- a/GLESv2/yagl_glsl_lexer.l
+++ b/GLESv2/yagl_glsl_lexer.l
@@ -193,12 +193,6 @@ STRING [^ \r\t\v\f\n()\[\]{},;?:/%*&|^!+\-=<>\.]+
return TOK_GLFRAGCOLOR;
}
-"samplerExternalOES" {
- struct yagl_glsl_state *state = yagl_glsl_lexer_get_extra(yyscanner);
- yagl_glsl_state_new_str_token(state, yylval, yytext);
- return TOK_SAMPLEREXTERNALOES;
-}
-
{PRECISION} {
struct yagl_glsl_state *state = yagl_glsl_lexer_get_extra(yyscanner);
yagl_glsl_state_new_str_token(state, yylval, yytext);