File tree Expand file tree Collapse file tree
Android/HelloAR/src/main/cpp
Tutorials/Tutorial00_HelloLinux/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ void BackgroundRenderer::Initialize(Diligent::IRenderDevice* pDevice)
117117 PipelineStateDesc& PSODesc = PSOCreateInfo.PSODesc ;
118118 PSODesc.Name = " Backround PSO" ;
119119
120- PSODesc.IsComputePipeline = false ;
120+ PSODesc.PipelineType = PIPELINE_TYPE_GRAPHICS ;
121121 PSODesc.GraphicsPipeline .NumRenderTargets = 1 ;
122122 PSODesc.GraphicsPipeline .RTVFormats [0 ] = TEX_FORMAT_RGBA8_UNORM;
123123 PSODesc.GraphicsPipeline .PrimitiveTopology = PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP;
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ void ObjRenderer::Initialize(IRenderDevice* pDevice)
8686
8787 PSODesc.Name = " Object rendering PSO" ;
8888
89- PSODesc.IsComputePipeline = false ;
89+ PSODesc.PipelineType = PIPELINE_TYPE_GRAPHICS ;
9090 PSODesc.GraphicsPipeline .NumRenderTargets = 1 ;
9191 PSODesc.GraphicsPipeline .RTVFormats [0 ] = TEX_FORMAT_RGBA8_UNORM;
9292 PSODesc.GraphicsPipeline .DSVFormat = TEX_FORMAT_D24_UNORM_S8_UINT;
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ void PlaneRenderer::Initialize(IRenderDevice* pDevice)
7070
7171 PSODesc.Name = " Plane rendering PSO" ;
7272
73- PSODesc.IsComputePipeline = false ;
73+ PSODesc.PipelineType = PIPELINE_TYPE_GRAPHICS ;
7474 PSODesc.GraphicsPipeline .NumRenderTargets = 1 ;
7575 PSODesc.GraphicsPipeline .RTVFormats [0 ] = TEX_FORMAT_RGBA8_UNORM;
7676 PSODesc.GraphicsPipeline .DSVFormat = TEX_FORMAT_D24_UNORM_S8_UINT;
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ void PointCloudRenderer::Initialize(IRenderDevice* pDevice)
112112
113113 PSODesc.Name = " Point cloud PSO" ;
114114
115- PSODesc.IsComputePipeline = false ;
115+ PSODesc.PipelineType = PIPELINE_TYPE_GRAPHICS ;
116116 PSODesc.GraphicsPipeline .NumRenderTargets = 1 ;
117117 PSODesc.GraphicsPipeline .RTVFormats [0 ] = TEX_FORMAT_RGBA8_UNORM;
118118 PSODesc.GraphicsPipeline .DSVFormat = TEX_FORMAT_D24_UNORM_S8_UINT;
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ class Tutorial00App
235235 PSODesc.Name = " Simple triangle PSO" ;
236236
237237 // This is a graphics pipeline
238- PSODesc.IsComputePipeline = false ;
238+ PSODesc.PipelineType = PIPELINE_TYPE_GRAPHICS ;
239239
240240 // This tutorial will render to a single render target
241241 PSODesc.GraphicsPipeline .NumRenderTargets = 1 ;
You can’t perform that action at this time.
0 commit comments