Fixed a small bug in the partial sum pass

このコミットが含まれているのは:
Sergio Pedri committed 2019-08-30 17:32:05 +02:00
1 親 433cd07bd5
コミット 4f71982c20
1ファイル変更
+1 -1
+1 -1
ファイルの表示
@@ -459,7 +459,7 @@ namespace ComputeSharp.BokehBlur.Processor
Vector4 real = source.Memory.Span[y * width * 2 + x * 2];
Vector4 imaginary = source.Memory.Span[y * width * 2 + x * 2 + 1];
target.Memory.Span[y * width + x] = real * z + imaginary * w;
target.Memory.Span[y * width + x] += real * z + imaginary * w;
}
});
}