diff options
author | Ian Romanick <[email protected]> | 2014-10-24 13:08:06 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-11-10 04:25:40 -0800 |
commit | 9cdf66657a152ad7455db7018f39b7cb5445464d (patch) | |
tree | 311aa5e275fc320160108f03e85441d9c57ff410 /docs/download.html | |
parent | 3711abd780141b84a33f393446b05a6a385200d4 (diff) |
glsl: Swap the order of glsl_type::name and ::length
On x86-64 this saves 8 bytes of padding in the structure, and this
reduces the size of the structure to 32 bytes.
v2: Fix constructor so that GCC won't warn about the order of
initialization.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'docs/download.html')
0 files changed, 0 insertions, 0 deletions