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

refactor: object wrap WebGPU #27665

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

Conversation

crowlKats
Copy link
Member

@crowlKats crowlKats commented Jan 14, 2025

Opened denoland/webgpu-examples#19 as well.

Fixes #25874
Fixes #26760
Fixes #24288
Fixes #24798
Fixes #25627
Fixes #25915
Fixes #26769

Binary size increase: 897kb

@jlucaso1
Copy link

@crowlKats
Yesterday a new wgpu version launched:
https://github.com/gfx-rs/wgpu/releases/tag/v24.0.0

@crowlKats
Copy link
Member Author

@jlucaso1 I am aware; we actually likely wont land this PR in this repo for the time being as we still figure out problems with object wrap, but rather will land it directly in the wgpu repo (in the deno_webgpu directory that lives there, since its a shallow copy of our ext/webgpu directly), and will continue from there

@crowlKats crowlKats marked this pull request as ready for review January 30, 2025 11:31
@littledivy
Copy link
Member

Looks good at a glance. Can you update the PR description with binary size increase?

@petamoriken
Copy link
Contributor

petamoriken commented Feb 4, 2025

Does this PR resolve the issues of GPUAdapterInfo being freed (#25874, #26760)?

@crowlKats
Copy link
Member Author

@petamoriken yes it does, since there arent resources anymore so saniters arent a concern anymore!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment