Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

external_memory_fd: Initialize output struct with proper sType #394

Merged
merged 1 commit into from
Mar 12, 2021

Commits on Mar 12, 2021

  1. external_memory_fd: Initialize output struct with proper sType

    MemoryFdPropertiesKHR is a struct that, despite being used as output,
    hsa to be initialized properly with a valid sType set, otherwise:
    
        Validation Error: [ VUID-VkMemoryFdPropertiesKHR-sType-sType ] Object 0: handle = 0x7f035464d648, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xdc6b3a0d | vkGetMemoryFdPropertiesKHR: parameter pMemoryFdProperties->sType must be VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR. The Vulkan spec states: sType must be VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-VkMemoryFdPropertiesKHR-sType-sType)
    MarijnS95 committed Mar 12, 2021
    Configuration menu
    Copy the full SHA
    b790a50 View commit details
    Browse the repository at this point in the history