Skip to content

crash when use QtVulkan #3

@173619070

Description

@173619070

crash code:
(file :VulkanBase.cxx, project:QtVulkanSceneDemo)

void VulkanBase::draw() {
    if (m_stop or m_pause) return;
    m_signalFrame = false;
    prepareFrame();

    // Command buffer to be sumitted to the queue
    m_submitInfo.commandBufferCount = 1;
    m_submitInfo.pCommandBuffers = &m_drawCmdBuffers[m_currentBuffer];

    // Submit to queue
    if (m_prepared) {
        VK_CHECK_RESULT(vkQueueSubmit(m_queue, 1, &m_submitInfo, VK_NULL_HANDLE));/////<-------crash
    }

    submitFrame();
    m_signalFrame = true;
}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions