Re: [Mesa-dev] [PATCH 3/7 v2] mesa: Shrink the size of the enum string lookup struct.

2013-09-22 Thread Kenneth Graunke
On 09/22/2013 12:56 PM, Eric Anholt wrote: > 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. > --- > src/mapi/glapi/gen/gl_enums.py | 6 ++

[Mesa-dev] [PATCH 3/7 v2] mesa: Shrink the size of the enum string lookup struct.

2013-09-22 Thread Eric Anholt
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. --- src/mapi/glapi/gen/gl_enums.py | 6 -- src/mesa/main/compiler.h | 9 + 2 f