mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-29 07:37:03 +00:00
Latte: Fix ASAN error (#1760)
This commit is contained in:
parent
232ff2257a
commit
08aa28468b
1 changed files with 2 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue