Skip to content

Commit

Permalink
[Graphics] Update D3D12 code for SharpDX 4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xen2 committed Oct 18, 2019
1 parent e42121a commit f5bc7a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -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();
}
}
Expand Down
Expand Up @@ -205,7 +205,7 @@ internal unsafe PipelineState(GraphicsDevice graphicsDevice, PipelineStateDescri
{
ComputeShader = computeShader.Data,
Flags = PipelineStateFlags.None,
RootSignature = rootSignature,
RootSignaturePointer = rootSignature,
};

CompiledState = NativeDevice.CreateComputePipelineState(nativePipelineStateDescription);
Expand Down

0 comments on commit f5bc7a6

Please sign in to comment.