#need help see what i'm doing wrong

9 messages · Page 1 of 1 (latest)

keen sentinel
#

i'm having issuses with this error ```java
12 API High Miscellaneous 1064294454 Validation Error: [ VUID-vkCmdDrawIndexed-None-08114 ]
Object 0: handle = Descriptor Set 128, type = VK_OBJECT_TYPE_DESCRIPTOR_SET;
| MessageID = 0x3f6fd836 | vkCmdDrawIndexed():
the descriptor (VkDescriptorSet Descriptor Set 128, binding 0, index 0) is being used in draw but has never been updated via vkUpdateDescriptorSets() or a similar call. The Vulkan spec states: Descriptors in each bound descriptor set, specified via vkCmdBindDescriptorSets, must be valid if they are statically used by the VkPipeline bound to the pipeline bind point used by this command and the bound VkPipeline was not created with VK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT

(https://vulkan.lunarg.com/doc/view/1.3.268.0/linux/1.3-extensions/vkspec.html#VUID-vkCmdDrawIndexed-None-08114)``` but i'm writing to the ubo in my code

#

line: 255 i'm writing it
line: 166 i'm using it in the render recording
anyone see my issus

keen sentinel
#

Anyone?

keen sentinel
sweet knoll
#

The code you posted does not ontain a single call to vkUpdateDescriptorSet. Are you sure you actually update descriptors? And if so, do you really use 128 sets for a hell triangle example? If not and you do indeed call vkUpdateDescriptorSet make sure you pass proper values.

keen sentinel
#

Model example

sweet knoll
#

?

#

Even for rendering a model, why do you need 128 descriptors?