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
VkSubpassDescription's colorAttachmentCount field does not have its size determined by pColorAttachments. I think this is a bug in the generator, because the definition (properly?) references two fields, but neither contribute to the count in colorAttachmentCount:
I'm afraid this is not a bug. The auto-size functionality on input is disabled when the count member references more than one other struct member. We explored different options for this a few years ago, but couldn't figure out something satisfying.
So, you have to set colorAttachmentCount explicitly, but it is still used automatically when you read pColorAttachments or pResolveAttachments.
Environment
3.2.3
13
13.0.2
Linux
vulkan
Description
VkSubpassDescription's
colorAttachmentCount
field does not have its size determined bypColorAttachments
. I think this is a bug in the generator, because the definition (properly?) references two fields, but neither contribute to the count incolorAttachmentCount
:The text was updated successfully, but these errors were encountered: