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

WebGPU new Surface API #21745

Open
Olle-Lukowski opened this issue Apr 11, 2024 · 4 comments · May be fixed by #21939
Open

WebGPU new Surface API #21745

Olle-Lukowski opened this issue Apr 11, 2024 · 4 comments · May be fixed by #21939
Assignees
Labels

Comments

@Olle-Lukowski
Copy link

So, ever since webgpu-native/webgpu-headers#203, the SwapChain API was merged with the Surface API. I want to use WebGPU for my project and was wondering if anyone is working on making emscripten compatible with the new webgpu.h? If not, I could try to help out, even though I haven't contributed before.

@kainino0x
Copy link
Collaborator

No one is working on it right now. Contribution would be welcome - I'm happy to give pointers (you can also find me on Matrix chat @kainino:matrix.org).

Dawn recently implemented the surface API so we're definitely ready to catch Emscripten up to be compatible.

@beaufortfrancois
Copy link
Contributor

beaufortfrancois commented May 13, 2024

@kainino0x Can you share pointers as I'm also working on updating our cross-platform app to use the new surface API?
Right now, it works only with native, not emscripten. See beaufortfrancois/webgpu-cross-platform-app#7

I'd be happy to help on that front.

@beaufortfrancois
Copy link
Contributor

@eliemichel FYI

@beaufortfrancois beaufortfrancois linked a pull request May 14, 2024 that will close this issue
@beaufortfrancois
Copy link
Contributor

@kainino0x I have a draft PR at #21939 which we can use to specify the shape of the Surface API in Emscripten.

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

Successfully merging a pull request may close this issue.

4 participants