Re: [Mesa-dev] [PATCH v2] nir: Fix output swizzle in get_mul_for_src

2015-05-28 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand On May 28, 2015 12:06 AM, "Iago Toral Quiroga" wrote: > When we compute the output swizzle we want to consider the number of > components in the add operation. So far we were using the writemask > of the multiplication for this instead, which is not correct. > --- >

[Mesa-dev] [PATCH v2] nir: Fix output swizzle in get_mul_for_src

2015-05-28 Thread Iago Toral Quiroga
When we compute the output swizzle we want to consider the number of components in the add operation. So far we were using the writemask of the multiplication for this instead, which is not correct. --- src/glsl/nir/nir_opt_peephole_ffma.c | 19 +-- 1 file changed, 9 insertions(+),