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

Parallel Shader Execution Across Multiple Queues #46

Open
axsaucedo opened this issue Oct 16, 2020 · 2 comments
Open

Parallel Shader Execution Across Multiple Queues #46

axsaucedo opened this issue Oct 16, 2020 · 2 comments

Comments

@axsaucedo
Copy link

Hello @jherico , in a discussion around parallel shader execution, I came across a separate post that links to this repo as a reference to asynchronous compute shaders, but it seems the link is broken, which seemed to lead to a file examples/compute/computeparticlesasync.cpp which is no longer there.

There seems to be consensus that this should be achievable through command buffer submission across separate queues. Given that I have not been able to achieve this by running experiments, I am currently looking to find practical examples that show parallel execution of shaders. Would you be able to point me in the right direction on examples that show successful parallelization of compute shader execution, or alternatively would you be able to provide some guidance on the way to achieve this?

Thank you @jherico - happy to provide further detail.

@jherico
Copy link
Owner

jherico commented Oct 16, 2020

I've fixed the broken link in the post to point at the latest version of that file I could find. I don't remember why I dropped that file. It's possible when I tested it after a long while it was generating validation warnings that I didn't feel like fixing, so I just abandoned it.

I would suggest looking for what you need in https://github.com/KhronosGroup/Vulkan-Samples and if nothing is there that mirrors what you need, perhaps file an issue there asking for something specific.

@axsaucedo
Copy link
Author

Thanks - this is great! I wish I found this earlier - appreciate it @jherico

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants