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