-
Notifications
You must be signed in to change notification settings - Fork 402
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
Low maxVariableDescriptorCount being reported #2203
Comments
I tried to get this to run in the cube example but it's configured to disallow debugging so not sure how to recreate it there. Here's what i've got so far:
Obviously it also needs the indexing features:
And the extension:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm receiving a rather low variable descriptor count which i expected to be higher.
I'm on Intel Iris 6100 and these are my limits:
The values important to me are 16 samplers and 128 sampled images (both per-stage).
This is the layout for my descriptor set (glsl):
My layout bindings match this and i have bindFlags of 0, 0, 8 (variable only for the albedoImages).
Now when i call getDescriptorSetLayoutSupport attaching a DescriptorSetVariableDescriptorCountLayoutSupportEXT, i get the maximum variable count being 15.
Where does this 15 come from? How come it doesn't tell me that i can use 128 sampled images?
*edit: To add insult to injury, if i ask whether or not a layout using those 15 descriptors is supported it still tells me no. 14 is the highest amount that's reported as being supported. This seems to me like the same off-by-one issue i reported here #1696.
The text was updated successfully, but these errors were encountered: