You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to move my projects from 3.0.1-SNAPSHOT to 3.1.0/3.1.1-SNAPSHOT today, but it seems that descriptor set updates have been broken along the way:
ERROR OCCURED: vkUpdateDescriptorsSets() failed write update validation for Descriptor Set 0xb with
error: Attempting write update to descriptor set 000000000000000B binding #0 with 0 total descriptors but update of 1 descriptors starting at binding offset of 0 combined with update array element offset of
0 oversteps the size of this descriptor set.. For more information refer to Vulkan Spec Section '13.2.4.
Descriptor Set Updates' which states 'The sum of dstArrayElement and descriptorCount must be less
than or equal to the number of array elements in the descriptor set binding specified by dstBinding, and
all applicable consecutive bindings, as described by consecutive binding updates'
(https://www.khronos.org/registry/vulkan/specs/1.0-extensions/xhtml/vkspec.html#descriptorsets-updates-consecutive)
I verified the problem with lwjgl/lwjgl3-demos, there, all demos that actually make use of descriptor sets (all except TriangleDemo and ClearScreenDemo) produce the same error when validations are enabled.
As far as I understand so far, it looks like as descriptorCount in VkDescriptorSetLayoutBinding gets ignored and set to zero. This struct is then used in vkCreateDescriptorSetLayouts and leads to the error above, with the statement of binding #0 with 0 total descriptors. 0 total descriptors there seem very fishy.
I have only tested this on Windows 10, Nvidia driver version 376.36.0, Vulkan API 1.0.24 and 1.0.33 Validation Layers so far. Happy to test it on further machines if needed.
The text was updated successfully, but these errors were encountered:
Hello,
I wanted to move my projects from 3.0.1-SNAPSHOT to 3.1.0/3.1.1-SNAPSHOT today, but it seems that descriptor set updates have been broken along the way:
I verified the problem with lwjgl/lwjgl3-demos, there, all demos that actually make use of descriptor sets (all except
TriangleDemo
andClearScreenDemo
) produce the same error when validations are enabled.As far as I understand so far, it looks like as
descriptorCount
inVkDescriptorSetLayoutBinding
gets ignored and set to zero. This struct is then used invkCreateDescriptorSetLayouts
and leads to the error above, with the statement ofbinding #0 with 0 total descriptors
. 0 total descriptors there seem very fishy.I have only tested this on Windows 10, Nvidia driver version 376.36.0, Vulkan API 1.0.24 and 1.0.33 Validation Layers so far. Happy to test it on further machines if needed.
The text was updated successfully, but these errors were encountered: