Skip to content

Commit 0f1cda1

Browse files
committed
fixed compilation on Android & Linux
1 parent 288e07e commit 0f1cda1

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

Android/HelloAR/src/main/cpp/BackgroundRenderer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

Android/HelloAR/src/main/cpp/ObjectRenderer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

Android/HelloAR/src/main/cpp/PlaneRenderer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

Android/HelloAR/src/main/cpp/PointCloudRenderer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

Tutorials/Tutorial00_HelloLinux/src/Tutorial00_HelloLinux.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)