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

Add and implement dispatch indirect #244

Merged
merged 4 commits into from
Jan 11, 2025

Conversation

EriKWDev
Copy link
Contributor

@EriKWDev EriKWDev commented Jan 10, 2025

Existed in Vulkan since 1.0, in metal and in opengl ES since 3.1.

Gles compiles on linux, tested on macos and linux with vulkan.

Motivation is that we are doing compute-based culling and would like to dispatch a sorting compute afterwards. The input to the sort function depends on the results from the cull. dispatch_indirect allows us to avoid dispatching unnecessarily many groups or doing a cpu read-back

Copy link
Owner

@kvark kvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are unstoppable, thank you!

@kvark kvark merged commit 1f620a3 into kvark:main Jan 11, 2025
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants