Fixed pixel shaders dispatch data loading

このコミットが含まれているのは:
Sergio Pedri committed 2021-07-12 15:58:52 +02:00
1 親 43f32ced28
コミット 6302cf005c
2ファイル変更
+2 -2

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

+1 -1
ファイルの表示
@@ -214,7 +214,7 @@ namespace ComputeSharp.Shaders
commandList.D3D12GraphicsCommandList->SetComputeRootSignature(pipelineData.D3D12RootSignature);
commandList.D3D12GraphicsCommandList->SetPipelineState(pipelineData.D3D12PipelineState);
ComputeShaderDispatchDataLoader dataLoader = new(commandList.D3D12GraphicsCommandList);
PixelShaderDispatchDataLoader dataLoader = new(commandList.D3D12GraphicsCommandList);
shader.LoadDispatchData(in dataLoader, device, x, y, 1);
+1 -1
ファイルの表示
@@ -115,7 +115,7 @@ namespace ComputeSharp.Tests
shaderType,
texture => new SwapChain.Shaders.Compute.ContouredLayers(texture, 0, background),
texture => new ContouredLayers(0, background),
0.0007f);
0.000703f);
}
/// <summary>