mesa: Shrink the size of the enum string lookup struct.
authorEric Anholt <eric@anholt.net>
Thu, 19 Sep 2013 21:54:13 +0000 (14:54 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 23 Sep 2013 19:45:22 +0000 (12:45 -0700)
commit673129e0b936b1c748e988d3f74f3efaab9e5693
treef52de6f9d312a47de141ffbee83d1363a60c14c4
parentc0378b6400e9e56df984eb1bc7ef43254740171c
mesa: Shrink the size of the enum string lookup struct.

Since it's only used for debug information, we can misalign the struct and
save the disk space.  Another 19k on a 64-bit build.

v2: Make a compiler.h macro to only use the attribute if we know we can.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@.intel.com>
src/mapi/glapi/gen/gl_enums.py
src/mesa/main/compiler.h