remember that
float a = b+c+d+e;
can be parallelized with:
float a = dot(float4(b,c,d,e,), 1.0f);
in shaders.
Explicitly parallelize additions !
Naročite se na:
Objavi komentarje (Atom)
An open diary of a fortunate developer.
remember that
float a = b+c+d+e;
can be parallelized with:
float a = dot(float4(b,c,d,e,), 1.0f);
in shaders.
Ni komentarjev:
Objavite komentar