Double underscore is allowed according to GLSL ES 3.10, and based on
Khronos discussions the intent is that this should also apply to older
specs. The dEQP tests also check this, and WebGL tests that check the
opposite were recently removed. The error is changed into a warning.
BUG=angleproject:989
TEST=angle_unittests
dEQP-GLES3.functional.shaders.preprocessor.* (2 tests start passing)
dEQP-GLES2.functional.shaders.preprocessor.* (2 tests start passing)
Change-Id: I582c01b4adc8fc416354351e02b776f2cc602408
Reviewed-on: https://chromium-review.googlesource.com/300965Tested-by:
Olli Etuaho <oetuaho@nvidia.com>
Reviewed-by:
Jamie Madill <jmadill@chromium.org>
Reviewed-by:
Zhenyao Mo <zmo@chromium.org>
Tryjob-Request: Olli Etuaho <oetuaho@nvidia.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| MockDiagnostics.h | Loading commit data... | |
| MockDirectiveHandler.h | Loading commit data... | |
| PreprocessorTest.cpp | Loading commit data... | |
| PreprocessorTest.h | Loading commit data... | |
| char_test.cpp | Loading commit data... | |
| comment_test.cpp | Loading commit data... | |
| define_test.cpp | Loading commit data... | |
| error_test.cpp | Loading commit data... | |
| extension_test.cpp | Loading commit data... | |
| identifier_test.cpp | Loading commit data... | |
| if_test.cpp | Loading commit data... | |
| input_test.cpp | Loading commit data... | |
| location_test.cpp | Loading commit data... | |
| number_test.cpp | Loading commit data... | |
| operator_test.cpp | Loading commit data... | |
| pragma_test.cpp | Loading commit data... | |
| space_test.cpp | Loading commit data... | |
| token_test.cpp | Loading commit data... | |
| version_test.cpp | Loading commit data... |