Branch
Hash :
3c7fee36
Author :
Date :
2015-09-22T14:14:18
[Docs] Add wiki content to Markdown docs Change-Id: I729d3208b206e83f99e73002b45402c4f6f9f443 Reviewed-on: https://chromium-review.googlesource.com/301560 Reviewed-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Tested-by: Geoff Lang <geofflang@chromium.org>
An issue that has arisen recently for contributors making changes to the GLSL ES grammar files has been that certain versions of flex, the lexer on which ANGLE relies, produce outputs which are not safe in 64-bit builds.
To address this issue, ANGLE has added a step to its generation scripts to apply 64-bit safety fixes to newly regenerated outputs. This should be unnoticeable to developers invoking flex via the generate_parser.sh scripts in the relevant compiler directories, as the fixes will be applied by the patch utility as part of that script.
When making code contributions that affect the grammar files, please ensure that you’ve generated the outputs using the script, to make certain that the 64-bit safety fixes are applied.
# 64-bit Safety In the Compiler
An issue that has arisen recently for contributors making changes to the GLSL ES
grammar files has been that certain versions of flex, the lexer on which ANGLE
relies, produce outputs which are not safe in 64-bit builds.
To address this issue, ANGLE has added a step to its generation scripts to apply
64-bit safety fixes to newly regenerated outputs. This should be unnoticeable to
developers invoking flex via the generate\_parser.sh scripts in the relevant
compiler directories, as the fixes will be applied by the patch utility as part
of that script.
When making code contributions that affect the grammar files, please ensure that
you've generated the outputs using the script, to make certain that the 64-bit
safety fixes are applied.