Skip to content
Permalink
Browse files

[Graphics] Update D3D12 code for SharpDX 4.2.0

  • Loading branch information
xen2 committed Oct 18, 2019
1 parent e42121a commit f5bc7a62af343c082bb7c5ce20222d1c7e30f81d
@@ -452,7 +452,7 @@ private void ReleaseDevice()
var debugDevice = NativeDevice.QueryInterfaceOrNull<SharpDX.Direct3D12.DebugDevice>();
if (debugDevice != null)
{
debugDevice.ReportLiveDeviceObjects(SharpDX.Direct3D12.RldoFlags.Detail);
debugDevice.ReportLiveDeviceObjects(SharpDX.Direct3D12.ReportingLevel.Detail);
debugDevice.Dispose();
}
}
@@ -205,7 +205,7 @@ internal unsafe PipelineState(GraphicsDevice graphicsDevice, PipelineStateDescri
{
ComputeShader = computeShader.Data,
Flags = PipelineStateFlags.None,
RootSignature = rootSignature,
RootSignaturePointer = rootSignature,
};

CompiledState = NativeDevice.CreateComputePipelineState(nativePipelineStateDescription);

0 comments on commit f5bc7a6

Please sign in to comment.
You can’t perform that action at this time.