[Mesa-dev] [PATCH 03/17] mesa: Add format unpack for the deprecated integer texture formats.
brianp at vmware.com
Fri Jan 20 16:26:20 PST 2012
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 just cast the
arguments for the signed versions?
In any case, Reviewed-by: Brian Paul <brianp at vmware.com>
More information about the mesa-dev