-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Descriptor count for INLINE_UNIFORM_BLOCK WriteDescriptorSet #806
Comments
Correct, but there's no proposed question, request, or solution? |
I'm not familiar with the code generation but I'd assume the preferred fix would be to hook into |
I would simply expose |
Like I tried to convey, it's really not that big of an issue, I'd even say it's mostly cosmetic :) The only downside of exposing So, yeah, if I have to propose something: let's expose |
That is a non-argument because this is exactly what sub-slicing is designed to do: Think I'll tune the generator to expose this function. |
I might be missing something but there's a small paper cut in
WriteDescriptorSet
's builder API:The spec for
VkWriteDescriptorSet
says:Currently,
descriptorCount
is set by the builder API depending on the descriptor type so there's nodescriptor_count()
method but it's not special cased forINLINE_UNIFORM_BLOCK
hence the assignment todescriptor_count
afterwards.I guess there's a similar issue for
VkWriteDescriptorSetAccelerationStructureKHR
'saccelerationStructureCount
.The text was updated successfully, but these errors were encountered: