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

2013-09-21 Thread Paul Berry
On 21 September 2013 09:03, Kenneth Graunke wrote: > On 09/21/2013 07:59 AM, Brian Paul wrote: > > On Fri, Sep 20, 2013 at 7:52 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. > >>

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

2013-09-21 Thread Kenneth Graunke
On 09/21/2013 07:59 AM, Brian Paul wrote: > On Fri, Sep 20, 2013 at 7:52 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. >> --- >> src/mapi/glapi/gen/gl_enums.py | 6 -- >> 1 file chan

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

2013-09-21 Thread Brian Paul
On Fri, Sep 20, 2013 at 7:52 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. > --- > src/mapi/glapi/gen/gl_enums.py | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --g

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

2013-09-20 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. --- src/mapi/glapi/gen/gl_enums.py | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mapi/glapi/gen/gl_enums.py b/src/mapi/glapi/gen/gl_enums.