Scanner: Many int64 fixes, including performance.
authorJohn Kessenich <cepheus@frii.com>
Mon, 8 Jan 2018 18:48:50 +0000 (11:48 -0700)
committerJohn Kessenich <cepheus@frii.com>
Mon, 8 Jan 2018 18:52:23 +0000 (11:52 -0700)
commitc043aadd252f60e14028f12e7823286378ea037f
tree0c0f20dfd08e1c27701d2b2277190352de2565e1
parentadc33b23ccdbacddaa02c08414d7b67fbd9e6e88
Scanner: Many int64 fixes, including performance.

- partially addresses #1209 and #1187
- only query 64-bit extension on seeing use of a 64-bit literal
  (was doing it for every single token)
- correct HLSL acceptance of 64-bit literal syntax (still an int though)
- error on overflow of 32-bit literal type
Test/baseResults/numeral.frag.out
Test/baseResults/preprocessor.simple.vert.out
Test/baseResults/spv.atomicInt64.comp.out
Test/baseResults/tokenLength.vert.out
Test/spv.atomicInt64.comp
glslang/MachineIndependent/preprocessor/PpScanner.cpp