diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-04-01 04:18:03 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-04-01 04:18:03 +0000 |
| commit | 53283423328b1c940401487b1863a0921bc10fd9 (patch) | |
| tree | b650013c9ce93e5ddd309b32a35c4112f19d1bff /Imgui/src/ImGuiImplDiligent.cpp | |
| parent | GLTF Loader: enabled two-sided materials (diff) | |
| download | DiligentTools-53283423328b1c940401487b1863a0921bc10fd9.tar.gz DiligentTools-53283423328b1c940401487b1863a0921bc10fd9.zip | |
Updates to match API version 240056
Diffstat (limited to 'Imgui/src/ImGuiImplDiligent.cpp')
| -rw-r--r-- | Imgui/src/ImGuiImplDiligent.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Imgui/src/ImGuiImplDiligent.cpp b/Imgui/src/ImGuiImplDiligent.cpp index 8aeb41b..9388f6c 100644 --- a/Imgui/src/ImGuiImplDiligent.cpp +++ b/Imgui/src/ImGuiImplDiligent.cpp @@ -178,7 +178,9 @@ void ImGuiImplDiligent_Internal::CreateDeviceObjects() m_pDevice->CreateShader(ShaderCI, &pPS); } - PipelineStateDesc PSODesc; + PipelineStateCreateInfo PSOCreateInfo; + PipelineStateDesc& PSODesc = PSOCreateInfo.PSODesc; + PSODesc.Name = "ImGUI PSO"; auto& GraphicsPipeline = PSODesc.GraphicsPipeline; @@ -231,7 +233,7 @@ void ImGuiImplDiligent_Internal::CreateDeviceObjects() PSODesc.ResourceLayout.StaticSamplers = StaticSamplers; PSODesc.ResourceLayout.NumStaticSamplers = _countof(StaticSamplers); - m_pDevice->CreatePipelineState(PSODesc, &m_pPSO); + m_pDevice->CreatePipelineState(PSOCreateInfo, &m_pPSO); { BufferDesc BuffDesc; |
