Re: [Mesa-dev] [PATCH] libclc: Add clamp(vec, scalar, scalar) and max(vec, scalar)

2013-04-19 Thread Tom Stellard
I've pushed all of your libclc patches to my repo. If I missed one, let me know. Thanks for the patches! -Tom On Sat, Apr 13, 2013 at 11:32:18AM -0500, Aaron Watry wrote: For any GENTYPE that isn't scalar, we need to implement a mixed vector/scalar version of clamp/max. This depends on

Re: [Mesa-dev] [PATCH] libclc: Add clamp(vec, scalar, scalar) and max(vec, scalar)

2013-04-16 Thread Tom Stellard
On Sat, Apr 13, 2013 at 11:32:18AM -0500, Aaron Watry wrote: For any GENTYPE that isn't scalar, we need to implement a mixed vector/scalar version of clamp/max. This depends on the min() patches I sent to the list a few minutes ago. Reviewed-by: Tom Stellard thomas.stell...@amd.com ---

[Mesa-dev] [PATCH] libclc: Add clamp(vec, scalar, scalar) and max(vec, scalar)

2013-04-13 Thread Aaron Watry
For any GENTYPE that isn't scalar, we need to implement a mixed vector/scalar version of clamp/max. This depends on the min() patches I sent to the list a few minutes ago. --- generic/include/clc/shared/clamp.inc |4 generic/include/clc/shared/max.inc |4