|
@@ -317,7 +317,7 @@ public:
|
317
|
317
|
}
|
318
|
318
|
|
319
|
319
|
|
320
|
|
- DKRenderPipelineDescriptor pipelineDescriptor;
|
|
320
|
+ DKRenderPipelineDescriptor pipelineDescriptor = {};
|
321
|
321
|
// setup shader
|
322
|
322
|
pipelineDescriptor.vertexFunction = vsf;
|
323
|
323
|
pipelineDescriptor.fragmentFunction = fsf;
|
|
@@ -382,7 +382,7 @@ public:
|
382
|
382
|
//auto CS_EDF = CS_ED->Function();
|
383
|
383
|
//auto CS_SHF = CS_SH->Function();
|
384
|
384
|
|
385
|
|
- DKComputePipelineDescriptor embossComputePipelineDescriptor;
|
|
385
|
+ DKComputePipelineDescriptor embossComputePipelineDescriptor = {};
|
386
|
386
|
embossComputePipelineDescriptor.computeFunction = cs_ef;
|
387
|
387
|
DKObject<DKComputePipelineState> emboss = device->CreateComputePipeline(embossComputePipelineDescriptor);
|
388
|
388
|
|