Fixes for Vulkan SDK 1.2.141
This commit is contained in:
parent
e6976c0e65
commit
500d10f295
1 changed files with 1 additions and 1 deletions
|
|
@ -1016,6 +1016,6 @@ void HelloVulkan::createCompPipelines()
|
||||||
nvvk::createShaderStageInfo(m_device,
|
nvvk::createShaderStageInfo(m_device,
|
||||||
nvh::loadFile("shaders/anim.comp.spv", true, defaultSearchPaths),
|
nvh::loadFile("shaders/anim.comp.spv", true, defaultSearchPaths),
|
||||||
VK_SHADER_STAGE_COMPUTE_BIT);
|
VK_SHADER_STAGE_COMPUTE_BIT);
|
||||||
m_compPipeline = m_device.createComputePipeline({}, computePipelineCreateInfo, nullptr);
|
m_compPipeline = m_device.createComputePipeline({}, computePipelineCreateInfo).value;
|
||||||
m_device.destroy(computePipelineCreateInfo.stage.module);
|
m_device.destroy(computePipelineCreateInfo.stage.module);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue