jonasmr/microprofile

Vulkan validation errors

Opened this issue · 0 comments

I'm getting the following validation errors when using microprofile with Khronos validation layers enabled:

When enabling the GPU group in the web UI:

VkQueryPool 0xf37618000000003d[] was created with a queryType of VK_QUERY_TYPE_TIMESTAMP but flags contains VK_QUERY_RESULT_PARTIAL_BIT. The Vulkan spec states: If the queryType used to create queryPool was VK_QUERY_TYPE_TIMESTAMP, flags must not contain VK_QUERY_RESULT_PARTIAL_BIT (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-vkGetQueryPoolResults-queryType-00818)

On application shutdown:

For VkDevice 0x1bd3b004f90[], VkCommandBuffer 0x1bd4036df30[] has not been destroyed. The Vulkan spec states: All child objects created on device must have been destroyed prior to destroying device (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-vkDestroyDevice-device-00378)

Is this an accepted limitation or am I doing something wrong on my end?