summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/uniform_query.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2014-10-24 13:08:06 -0700
committerIan Romanick <[email protected]>2014-11-10 04:25:40 -0800
commit9cdf66657a152ad7455db7018f39b7cb5445464d (patch)
tree311aa5e275fc320160108f03e85441d9c57ff410 /src/mesa/main/uniform_query.cpp
parent3711abd780141b84a33f393446b05a6a385200d4 (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 'src/mesa/main/uniform_query.cpp')
0 files changed, 0 insertions, 0 deletions