Skip to content
Snippets Groups Projects
Commit fca7acf4 authored by Alexander Gauggel's avatar Alexander Gauggel
Browse files

[#65] Fix startup crash

parent 6b163c82
No related branches found
No related tags found
1 merge request!58Resolve "Compute Pipeline"
Pipeline #25571 passed
......@@ -335,9 +335,9 @@ namespace vkcv
const vk::PushConstantRange pushConstantRange(vk::ShaderStageFlagBits::eAll, 0, matrixPushConstantSize);
vk::PipelineLayoutCreateInfo pipelineLayoutCreateInfo( // TODO: Check this. I'm not sure if this is correct
{},
{}, // TODO: For now no Descriptor Set
(pushConstantRange));
{},
{}, // TODO: For now no Descriptor Set
{});// (pushConstantRange)); push constant range must not be size 0, either do not specify or or set size
vk::PipelineLayout vkPipelineLayout{};
if (m_Device.createPipelineLayout(&pipelineLayoutCreateInfo, nullptr, &vkPipelineLayout) != vk::Result::eSuccess)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment