Skip to content
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

Issue with buffer bindings for multiple SBOs #959

Closed
sungiant opened this issue Jul 14, 2020 · 2 comments
Closed

Issue with buffer bindings for multiple SBOs #959

sungiant opened this issue Jul 14, 2020 · 2 comments
Labels
Bug Completed Issue has been fixed, or enhancement implemented.

Comments

@sungiant
Copy link

Hi, I'm having trouble with bindings for compute shaders that use multiple storage buffers, perhaps I've found an issue?

I consistently get the following type of error when queueing up work from compute pipelines with descriptor set layouts and associated shader modules that use more than one storage buffer:

validateComputeFunctionArguments:762: failed assertion `Compute Function(main0): missing buffer binding at index 5 for spvBufferSizeConstants[0].'
  • I'm using OSX and MoltenVK.
  • I've tested on multiple machines.
  • On Windows with Vulkan the same examples do not have issues.
  • Being concerned that I had something wrong with API usage in my test case I created another test case based on this example - I continue to experience the same kind of error with MoltenVK.

Any help would be much appreciated. Thanks.

@billhollings
Copy link
Contributor

This is fixed in PR #979. Please retest and close this issue if it fixes it for you.

@sungiant
Copy link
Author

Brilliant, thank you. I've just tested my project with these changes and the issue looks to be resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Completed Issue has been fixed, or enhancement implemented.
Projects
None yet
Development

No branches or pull requests

2 participants