Re: [Mesa-dev] [PATCH 03/17] mesa: Add format unpack for the deprecated integer texture formats.

2012-01-23 Thread Eric Anholt
On Fri, 20 Jan 2012 17:26:20 -0700, Brian Paul bri...@vmware.com wrote: On 01/20/2012 04:39 PM, Eric Anholt wrote: This cut and paste is pretty awful. I'm tempted to do a lot of this using preprocessor tricks for customizing the parameter type from a template function, but that's just a

[Mesa-dev] [PATCH 03/17] mesa: Add format unpack for the deprecated integer texture formats.

2012-01-20 Thread Eric Anholt
This cut and paste is pretty awful. I'm tempted to do a lot of this using preprocessor tricks for customizing the parameter type from a template function, but that's just a different sort of hideous. Fixes 4 Intel oglconform int-textures cases. NOTE: This is a candidate for the 8.0 branch. ---

Re: [Mesa-dev] [PATCH 03/17] mesa: Add format unpack for the deprecated integer texture formats.

2012-01-20 Thread Brian Paul
On 01/20/2012 04:39 PM, Eric Anholt wrote: This cut and paste is pretty awful. I'm tempted to do a lot of this using preprocessor tricks for customizing the parameter type from a template function, but that's just a different sort of hideous. How about having uint, ushort, ubyte functions and