-
Notifications
You must be signed in to change notification settings - Fork 397
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 buffers size issues #8203
Comments
@Agrael1 so this would be for Can you print the entire Validation error message? What version of the SDK did you use (this seems like an older message) |
The SDK version I run is 1.3.280, the real implemented version is 1.3.275 on NVidia 555.99 RTX driver |
@Agrael1 I am still looking into this, what my "guess" is going on is the VVL is throwing a real error, but giving a terrible message (so needs to be fixed regardless) If you call |
@spencer-lunarg The thing is, it is not registering as an error, VkResult is fine, and rendering is fine as well. My guess is that |
Just to confirm, did you query the size and what did it return for you here... this is what the validation layers is currently using to decide (if that is correct or not, is something I am still trying to figure out) |
yes, it returns 256. |
https://github.com/KhronosGroup/Vulkan-Docs/blob/main/proposals/VK_EXT_descriptor_buffer.adoc |
Hi, I have reverted to using bytes for descriptor tables.
However there is a validation problem. If I bind and set offset 0 for a simple layout it starts making noisy messages in validation.
But if I change the size of the buffer to 256, the error goes away. I am using a huge buffer for bindless and bindful tests, so I may or may not be able to query the size of the descriptor layout. The layout itself does not exceed a single uniform binding, so allocating a buffer for 1 uniform should be enough. May this be a rule, that I missed, or is it a validation false positive?
The text was updated successfully, but these errors were encountered: