Code refactoring to the DispatchData struct

このコミットが含まれているのは:
Sergio Pedri committed 2019-09-19 03:09:16 +02:00
1 親 85cce1db3c
コミット d91c2be519
3ファイル変更
+85 -44

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

+1 -1
ファイルの表示
@@ -104,7 +104,7 @@ namespace ComputeSharp.Shaders
commandList.SetPipelineState(pipelineState);
// Extract the dispatch data for the shader invocation
using var dispatchData = shaderData.Loader.GetDispatchData(action, x, y, z);
using DispatchData dispatchData = shaderData.Loader.GetDispatchData(action, x, y, z);
// Load the captured buffers
Span<GraphicsResource> resources = dispatchData.Resources;