Remove split UAV barriers (unsupported), add more unit tests
このコミットが含まれているのは:
1 親
37670e8f4c
コミット
ec70bcf61b
9ファイル変更
+85
-287
検索条件に一致するファイルはありません
@@ -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,
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする