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

Support Features::MULTI_DRAW_INDIRECT on OpenGL #6331

Open
Astralchroma opened this issue Sep 26, 2024 · 0 comments
Open

Support Features::MULTI_DRAW_INDIRECT on OpenGL #6331

Astralchroma opened this issue Sep 26, 2024 · 0 comments
Labels
api: gles Issues with GLES or WebGL type: enhancement New feature or request

Comments

@Astralchroma
Copy link

Describe the solution you'd like
wgpu currently specifies that Features::MULTI_DRAW_INDIRECT is only supported on Vulkan, DirectX 12, and Metal, but not OpenGL despite the fact that from what I can tell, it is supported in OpenGL 4.3+ or if the extension ARB_multi_draw_indirect is available, ideally wgpu should support Features::MULTI_DRAW_INDIRECT on OpenGL on devices where it is available.

Describe alternatives you've considered

  1. Not using OpenGL: On the low end, some people still have machines that are not capable of Vulkan, or do not support it very well.
  2. Not requiring Features::MULTI_DRAW_INDIRECT: This means duplicating code to work with and without it.
  3. Not using Features::MULTI_DRAW_INDIRECT: This means missing out on any potential improvements it brings.

Additional context
While I have yet to use Features::MULTI_DRAW_INDIRECT, I imagine I will end up wanting to use it at some point, and I imagine many others already do use it, or want to.

@Wumpf Wumpf added type: enhancement New feature or request api: gles Issues with GLES or WebGL labels Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: gles Issues with GLES or WebGL type: enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants