diff options
author | Vasiliy Ulyanov <v.ulyanov@samsung.com> | 2016-05-26 13:12:03 +0300 |
---|---|---|
committer | Vasiliy Ulyanov <v.ulyanov@samsung.com> | 2016-05-26 15:20:30 +0300 |
commit | ba1628f473045ec0f30bd617de57c6a90aeef5bf (patch) | |
tree | 87b6f84b1565326f26a67c7b8f0a2c2891931ad8 /GLESv2/yagl_glsl_lexer.l | |
parent | 3ebe62f47fa1e765c633425403bb6915ce87b89d (diff) | |
download | emulator-yagl-ba1628f473045ec0f30bd617de57c6a90aeef5bf.tar.gz emulator-yagl-ba1628f473045ec0f30bd617de57c6a90aeef5bf.tar.bz2 emulator-yagl-ba1628f473045ec0f30bd617de57c6a90aeef5bf.zip |
YaGL: Redefine samplerExternalOES in GLSLsubmit/tizen/20160609.005815accepted/tizen/wearable/20160609.091243accepted/tizen/tv/20160609.091254accepted/tizen/mobile/20160609.091511accepted/tizen/ivi/20160609.091238accepted/tizen/common/20160609.145843
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.l | 6 |
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); |