git.s-ol.nu ~forks/DiligentTools / 5328342
Updates to match API version 240056 assiduous 1 year, 2 months ago
1 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
177177 m_pDevice->CreateShader(ShaderCI, &pPS);
178178 }
179179
180 PipelineStateDesc PSODesc;
180 PipelineStateCreateInfo PSOCreateInfo;
181 PipelineStateDesc& PSODesc = PSOCreateInfo.PSODesc;
182
181183 PSODesc.Name = "ImGUI PSO";
182184 auto& GraphicsPipeline = PSODesc.GraphicsPipeline;
183185
230232 PSODesc.ResourceLayout.StaticSamplers = StaticSamplers;
231233 PSODesc.ResourceLayout.NumStaticSamplers = _countof(StaticSamplers);
232234
233 m_pDevice->CreatePipelineState(PSODesc, &m_pPSO);
235 m_pDevice->CreatePipelineState(PSOCreateInfo, &m_pPSO);
234236
235237 {
236238 BufferDesc BuffDesc;