mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-01-30 11:13:31 +00:00
Latte: Fix ASAN error (#1760)
This commit is contained in:
parent
232ff2257a
commit
08aa28468b
@ -1003,15 +1003,14 @@ bool PipelineCompiler::Compile(bool forceCompile, bool isRenderThread, bool show
|
||||
|
||||
VkPipelineCreationFeedbackCreateInfoEXT creationFeedbackInfo;
|
||||
VkPipelineCreationFeedbackEXT creationFeedback;
|
||||
std::vector<VkPipelineCreationFeedbackEXT> creationStageFeedback(0);
|
||||
boost::container::static_vector<VkPipelineCreationFeedbackEXT, 3> creationStageFeedback;
|
||||
if (vkRenderer->m_featureControl.deviceExtensions.pipeline_feedback)
|
||||
{
|
||||
creationFeedback = {};
|
||||
creationFeedback.flags = VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT;
|
||||
|
||||
creationStageFeedback.reserve(pipelineInfo.stageCount);
|
||||
for (uint32_t i = 0; i < pipelineInfo.stageCount; ++i)
|
||||
creationStageFeedback.data()[i] = { VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT, 0 };
|
||||
creationStageFeedback.push_back({VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT, 0});
|
||||
|
||||
creationFeedbackInfo = {};
|
||||
creationFeedbackInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO_EXT;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user