• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 64-bit Safety In the Compiler
2
3An issue that has arisen recently for contributors making changes to the GLSL ES
4grammar files has been that certain versions of flex, the lexer on which ANGLE
5relies, produce outputs which are not safe in 64-bit builds.
6
7To address this issue, ANGLE has added a step to its generation scripts to apply
864-bit safety fixes to newly regenerated outputs. This should be unnoticeable to
9developers invoking flex via the generate\_parser.sh scripts in the relevant
10compiler directories, as the fixes will be applied by the patch utility as part
11of that script.
12
13When making code contributions that affect the grammar files, please ensure that
14you've generated the outputs using the script, to make certain that the 64-bit
15safety fixes are applied.
16