summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/opt_vectorize.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2017-09-20 16:05:54 -0500
committerIan Romanick <[email protected]>2017-10-30 09:27:09 -0700
commit747c057530a1da32860f3881ca73a0d648e8f317 (patch)
tree4ccfe3714a25de8238402f3f22ca494bdf872a02 /src/compiler/glsl/opt_vectorize.cpp
parent4171900cf15f2c81a1f119e1fb92772f6c355199 (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_vectorize.cpp')
0 files changed, 0 insertions, 0 deletions