Remove split UAV barriers (unsupported), add more unit tests

このコミットが含まれているのは:
Sergio Pedri committed 2021-12-28 16:58:17 +01:00
1 親 37670e8f4c
コミット ec70bcf61b
9ファイル変更
+85 -287

検索条件に一致するファイルはありません

+2 -2
ファイルの表示
@@ -293,8 +293,8 @@ public sealed partial class HlslBokehBlurProcessor
source.Height,
new(texture, reals, imaginaries, kernel));
context.FullBarrier(reals);
context.FullBarrier(imaginaries);
context.Barrier(reals);
context.Barrier(imaginaries);
context.For<HorizontalConvolutionAndAccumulatePartialsProcessor>(
source.Width,
+1 -1
ファイルの表示
@@ -108,7 +108,7 @@ public sealed partial class HlslGaussianBlurProcessor
using (var context = GraphicsDevice.CreateComputeContext())
{
context.For<VerticalConvolutionProcessor>(source.Width, source.Height, new(sourceTexture, firstPassTexture, kernelBuffer));
context.FullBarrier(firstPassTexture);
context.Barrier(firstPassTexture);
context.For<HorizontalConvolutionProcessor>(source.Width, source.Height, new(firstPassTexture, sourceTexture, kernelBuffer));
}