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 <bri...@vmware.com> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev