Re: [Mesa-dev] [PATCH 10/22] mesa: Refactor VertexAttrib[I|L]Format

2015-03-23 Thread Fredrik Höglund
On Friday 20 March 2015, Laura Ekstrand wrote: > On Wed, Mar 18, 2015 at 4:18 PM, Fredrik Höglund wrote: > > > The only difference between these functions is the legal types and > > sizes, so consolidate the code into a single vertex_attrib_format() > > function and call it from all three entry p

Re: [Mesa-dev] [PATCH 10/22] mesa: Refactor VertexAttrib[I|L]Format

2015-03-20 Thread Laura Ekstrand
On Wed, Mar 18, 2015 at 4:18 PM, Fredrik Höglund wrote: > The only difference between these functions is the legal types and > sizes, so consolidate the code into a single vertex_attrib_format() > function and call it from all three entry points. > --- > src/mesa/main/varray.c | 143 > ++

[Mesa-dev] [PATCH 10/22] mesa: Refactor VertexAttrib[I|L]Format

2015-03-18 Thread Fredrik Höglund
The only difference between these functions is the legal types and sizes, so consolidate the code into a single vertex_attrib_format() function and call it from all three entry points. --- src/mesa/main/varray.c | 143 +++-- 1 file changed, 43 insertions