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

Allow choosing the underlying WebGPU library via command-line flags #102

Open
hujiajie opened this issue Apr 18, 2020 · 0 comments
Open

Comments

@hujiajie
Copy link
Collaborator

This is the WebGPU counterpart of #101, so the following modes should be supported by Aquarium:

  • Do not link with system WebGPU at build time, except in the WASM build
  • Dynamically load system WebGPU when Aquarium is asked to use the WebGPU backend
  • Dynamically load Dawn when Aquarium is asked to use the Dawn backend

Dynamically loading system WebGPU is not a quite useful mode at the moment, but it leaves the door open in case some day Dawn or wgpu-native can be installed system-wide.

One challenge is that dynamic loading implies using the C binding, while Aquarium is built on top of the C++ APIs. It should also be noted that the C++ wrapper is not shipped in Emscripten.

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

1 participant