Added buffer/device validation on loading

このコミットが含まれているのは:
Sergio Pedri committed 2020-11-22 16:48:04 +01:00
1 親 c2a1980596
コミット 2dfd8855f4
4ファイル変更
+84 -13

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

+1 -1
ファイルの表示
@@ -123,7 +123,7 @@ namespace ComputeSharp.Shaders
commandList.SetPipelineData(pipelineData);
// Extract the dispatch data for the shader invocation
using DispatchData dispatchData = shaderData.Loader.GetDispatchData(in shader, x, y, z);
using DispatchData dispatchData = shaderData.Loader.GetDispatchData(device, in shader, x, y, z);
// Load the captured buffers
ReadOnlySpan<D3D12_GPU_DESCRIPTOR_HANDLE> resources = dispatchData.Resources;