glslang-zig/glslang
John Kessenich 907aabb6b0 PP: Non-functional: Only use string <-> atom mapping when needed.
Also, eliminate the 'atom' field of TPpToken.

Parsing a real 300 line shader, through to making the AST, is about 10% faster.

Memory is slightly reduced (< 1%).

The whole google-test suite, inclusive of all testing overhead, SPIR-V generation,
etc., runs 3% faster.

Since this is a code *simplification* that leads to perf. improvement, I'm not
going to invest too much more in measuring the perf. than this. The PP code is
simply now in a better state to see how to further rationalize/improve it.
2016-12-20 23:36:05 -07:00
..
GenericCodeGen Whitespace: Nonfunctional: fix inconsistent white space, esp. no tabs. 2016-08-05 17:34:34 -06:00
Include PP: Non-functional: Only use string <-> atom mapping when needed. 2016-12-20 23:36:05 -07:00
MachineIndependent PP: Non-functional: Only use string <-> atom mapping when needed. 2016-12-20 23:36:05 -07:00
OSDependent Use a recursive mutex. 2016-10-15 15:19:59 -07:00
Public Linker: Eliminate uncalled functions, because they can be ill-defined. 2016-12-09 19:22:20 -07:00
CMakeLists.txt HLSL: Add location offsets per resource type 2016-09-20 20:31:27 -06:00
updateGrammar Bison: Non-functional: Move to revision 3.0.4. 2016-05-04 12:54:56 -06:00