Recognize preprocessor functions in GLSL code 89/251689/1
authorLukasz Kostyra <l.kostyra@samsung.com>
Mon, 18 Jan 2021 11:34:14 +0000 (12:34 +0100)
committerLukasz Kostyra <l.kostyra@samsung.com>
Mon, 18 Jan 2021 11:37:13 +0000 (12:37 +0100)
commit1022a5686113a5e6a46348ed305b3fa12e86e762
tree5ea83ca017bb41c07bc437891bf3a0807f1f0d97
parentf057e0bfe80dbd3ef675cfc0b76c67ea8a7e47da
Recognize preprocessor functions in GLSL code

On some situations preprocessor code can contain functions.
For now this code is recognized and ignored in order to not produce
syntax errors.

Change-Id: I1e80fc4f07a39dac1c112b7816efb0a813d091f9
GLESv2/yagl_gles2_calls.c
GLESv2/yagl_gles2_context.c
GLESv2/yagl_glsl_lexer.l
GLESv2/yagl_glsl_parser.y