mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
When recreating pipelines, don't make them derivatives
This commit is contained in:
@@ -521,6 +521,9 @@ void VulkanShaderCache::MakeGraphicsPipelineInfo(VkGraphicsPipelineCreateInfo &p
|
||||
0, // base pipeline index
|
||||
};
|
||||
|
||||
// never create derivatives
|
||||
ret.flags &= ~VK_PIPELINE_CREATE_DERIVATIVE_BIT;
|
||||
|
||||
pipeCreateInfo = ret;
|
||||
}
|
||||
|
||||
@@ -591,5 +594,8 @@ void VulkanShaderCache::MakeComputePipelineInfo(VkComputePipelineCreateInfo &pip
|
||||
0, // base pipeline index
|
||||
};
|
||||
|
||||
// never create derivatives
|
||||
ret.flags &= ~VK_PIPELINE_CREATE_DERIVATIVE_BIT;
|
||||
|
||||
pipeCreateInfo = ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user