monado/src/xrt/compositor
Christoph Haag 7ebd11e1d4 comp/render: Add VkExternalMemoryBufferCreateInfo
Fixes validation error when calling render_buffer_init_exportable

VUID-vkBindBufferMemory-memory-02726(ERROR / SPEC): msgNum: -168767885 - Validation Error: [ VUID-vkBindBufferMemory-memory-02726 ] Object 0: handle = 0xe88693000000000c, type = VK_OBJECT_TYPE_BUFFER; Object 1: handle = 0xcad092000000000d, type = VK_OBJECT_TYPE_DEVICE_MEMORY; | MessageID = 0xf5f0ce73 | vkBindBufferMemory(): The VkDeviceMemory (VkDeviceMemory 0xcad092000000000d[]) has an external handleType of VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT which does not include at least one handle from VkBuffer (VkBuffer 0xe88693000000000c[]) handleType Unhandled VkExternalMemoryHandleTypeFlagBits. The Vulkan spec states: If the value of VkExportMemoryAllocateInfo::handleTypes used to allocate memory is not 0, it must include at least one of the handles set in VkExternalMemoryBufferCreateInfo::handleTypes when buffer was created (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkBindBufferMemory-memory-02726)
    Objects: 2
        [0] 0xe88693000000000c, type: 9, name: NULL
        [1] 0xcad092000000000d, type: 8, name: NULL
2022-04-15 01:27:38 +02:00
..
client monado: Apply clang-tidy fixes to most of the codebase. 2022-04-13 09:34:54 -05:00
main monado: Apply clang-tidy fixes to most of the codebase. 2022-04-13 09:34:54 -05:00
multi c/multi: Be slightly smarter about late frames 2022-04-05 23:22:26 +01:00
render comp/render: Add VkExternalMemoryBufferCreateInfo 2022-04-15 01:27:38 +02:00
shaders c/shader: Fix color values in compute clear shader 2022-03-01 13:58:07 +00:00
util aux/vk: Rename barrier functions and introduce new variant 2022-04-08 19:17:41 +01:00
CMakeLists.txt cmake: Format build files 2022-04-13 01:11:13 +01:00
meson.build c/render: Rename files 2022-04-05 22:45:45 +01:00