12 Replies Latest reply on Apr 10, 2018 10:05 AM by Ronald_Intel

    Vulkan driver bug: vkCreateDescriptorSetLayout fails when bindingCount=0 & flags=VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR


      The spec doesn't seem to suggest that creating empty descriptor set layouts is invalid when using push descriptors; it's mostly pointless but should still work.


      On Intel Vulkan drivers, this does work when *not* using push descriptors, but when push descriptors are enabled with the VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR flag, descriptor set layout creation fails with error -1. FWIW the driver throws VK::Exception object during this call, which I'm guessing is caught and converted to a return code.


      This happens with driver 15.60 on Intel HD Graphics 520; Vulkan-reported driver version is 0x10002, DXDiag reported version is (12/17/2017).