|
|
|
|
75
|
pipelineDescriptor.cullMode = DKCullMode::None;
|
75
|
pipelineDescriptor.cullMode = DKCullMode::None;
|
76
|
pipelineDescriptor.rasterizationEnabled = true;
|
76
|
pipelineDescriptor.rasterizationEnabled = true;
|
77
|
|
77
|
|
78
|
- DKObject<DKRenderPipelineState> pipelineState = device->CreateRenderPipeline(pipelineDescriptor, NULL);
|
|
|
|
|
78
|
+ DKPipelineReflection reflection;
|
|
|
79
|
+ DKObject<DKRenderPipelineState> pipelineState = device->CreateRenderPipeline(pipelineDescriptor, &reflection);
|
79
|
|
80
|
|
80
|
DKTimer timer;
|
81
|
DKTimer timer;
|
81
|
timer.Reset();
|
82
|
timer.Reset();
|