[Libclc-dev] [PATCH] Add int3/uint3 to integer-gentype.inc

Tom Stellard tom at stellard.net
Thu Aug 21 16:34:28 PDT 2014


On Thu, Aug 21, 2014 at 05:24:14PM -0500, Aaron Watry wrote:
> These were missing and caused mad24/mul24 with int3/uint3 arg type to fail
> 

LGTM.

> Signed-off-by: Aaron Watry <awatry at gmail.com>
> ---
>  generic/include/clc/integer/integer-gentype.inc | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/generic/include/clc/integer/integer-gentype.inc b/generic/include/clc/integer/integer-gentype.inc
> index 6470eb3..e4115cf 100644
> --- a/generic/include/clc/integer/integer-gentype.inc
> +++ b/generic/include/clc/integer/integer-gentype.inc
> @@ -6,6 +6,10 @@
>  #include __CLC_BODY
>  #undef __CLC_GENTYPE
>  
> +#define __CLC_GENTYPE int3
> +#include __CLC_BODY
> +#undef __CLC_GENTYPE
> +
>  #define __CLC_GENTYPE int4
>  #include __CLC_BODY
>  #undef __CLC_GENTYPE
> @@ -26,6 +30,10 @@
>  #include __CLC_BODY
>  #undef __CLC_GENTYPE
>  
> +#define __CLC_GENTYPE uint3
> +#include __CLC_BODY
> +#undef __CLC_GENTYPE
> +
>  #define __CLC_GENTYPE uint4
>  #include __CLC_BODY
>  #undef __CLC_GENTYPE
> -- 
> 1.9.1
> 
> 
> _______________________________________________
> Libclc-dev mailing list
> Libclc-dev at pcc.me.uk
> http://www.pcc.me.uk/cgi-bin/mailman/listinfo/libclc-dev




More information about the Libclc-dev mailing list