diff options
author | Ian Romanick <[email protected]> | 2017-09-20 16:05:54 -0500 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2017-10-30 09:27:09 -0700 |
commit | 747c057530a1da32860f3881ca73a0d648e8f317 (patch) | |
tree | 4ccfe3714a25de8238402f3f22ca494bdf872a02 /src/compiler/glsl/opt_redundant_jumps.cpp | |
parent | 4171900cf15f2c81a1f119e1fb92772f6c355199 (diff) |
glsl/parser: Return the glsl_type object from the lexer
This allows us to use a single token for every built-in type except void.
text data bss dec hex filename
8275163 269336 294072 8838571 86ddab 32-bit i965_dri.so before
8255243 268856 294072 8818171 868dfb 32-bit i965_dri.so after
7836963 346552 420592 8604107 8349cb 64-bit i965_dri.so before
7815195 345592 420592 8581379 82f103 64-bit i965_dri.so after
Yes, the 64-bit binary shrinks by 21k.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/compiler/glsl/opt_redundant_jumps.cpp')
0 files changed, 0 insertions, 0 deletions