yangyi0239

Does reduction support float4

Discussion created by yangyi0239 on Mar 24, 2009
Latest reply on Mar 25, 2009 by yangyi0239

I write follow code, but  cannot get correct result.

reduce void sum(float4 a<>, reduce float4 b)
{
    b += a;
}

Outcomes