git.s-ol.nu ~forks/DiligentFX / 1ab5a54
Few updates to match API 240068 assiduous 1 year, 1 month ago
2 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
164164
165165 PSODesc.Name = "Precompute GLTF BRDF LUT PSO";
166166
167 PSODesc.IsComputePipeline = false;
167 PSODesc.PipelineType = PIPELINE_TYPE_GRAPHICS;
168168 PSODesc.GraphicsPipeline.NumRenderTargets = 1;
169169 PSODesc.GraphicsPipeline.RTVFormats[0] = TexDesc.Format;
170170 PSODesc.GraphicsPipeline.PrimitiveTopology = PRIMITIVE_TOPOLOGY_TRIANGLE_LIST;
222222
223223 PSODesc.Name = "Render GLTF PBR PSO";
224224
225 PSODesc.IsComputePipeline = false;
225 PSODesc.PipelineType = PIPELINE_TYPE_GRAPHICS;
226226 PSODesc.GraphicsPipeline.NumRenderTargets = 1;
227227 PSODesc.GraphicsPipeline.RTVFormats[0] = m_Settings.RTVFmt;
228228 PSODesc.GraphicsPipeline.DSVFormat = m_Settings.DSVFmt;
525525 PipelineStateCreateInfo PSOCreateInfo;
526526 PipelineStateDesc& PSODesc = PSOCreateInfo.PSODesc;
527527
528 PSODesc.Name = "Precompute irradiance cube PSO";
529 PSODesc.IsComputePipeline = false;
528 PSODesc.Name = "Precompute irradiance cube PSO";
529 PSODesc.PipelineType = PIPELINE_TYPE_GRAPHICS;
530530
531531 PSODesc.GraphicsPipeline.NumRenderTargets = 1;
532532 PSODesc.GraphicsPipeline.RTVFormats[0] = IrradianceCubeFmt;
593593 PipelineStateCreateInfo PSOCreateInfo;
594594 PipelineStateDesc& PSODesc = PSOCreateInfo.PSODesc;
595595
596 PSODesc.Name = "Prefilter environment map PSO";
597 PSODesc.IsComputePipeline = false;
596 PSODesc.Name = "Prefilter environment map PSO";
597 PSODesc.PipelineType = PIPELINE_TYPE_GRAPHICS;
598598
599599 PSODesc.GraphicsPipeline.NumRenderTargets = 1;
600600 PSODesc.GraphicsPipeline.RTVFormats[0] = PrefilteredEnvMapFmt;
237237
238238 PSODesc.Name = PSOName;
239239 PSODesc.ResourceLayout = ResourceLayout;
240 PSODesc.IsComputePipeline = true;
240 PSODesc.PipelineType = PIPELINE_TYPE_COMPUTE;
241241 PSODesc.ComputePipeline.pCS = ComputeShader;
242242 PSO.Release();
243243 SRB.Release();