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

Enable more wgpu-hal functions for webgl #3490

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

daxpedda
Copy link
Contributor

As discussed in #3467 (comment).

Apparently there were some functions related to wgpu-hal that were not exposed in WebGL but should. I'm surprised that enumerate_adapters is available in webgl for example, so please review this carefully.

Wasn't sure about map_texture_tagged_copy_view, so I left it alone, happy to fix it too if somebody assures me it's correct.

Copy link
Member

@cwfitzgerald cwfitzgerald left a comment

Choose a reason for hiding this comment

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

Yup, that's all right!

enumerate_adapters exists, it just always returns a single adapter from the GL backend.

@cwfitzgerald cwfitzgerald enabled auto-merge (squash) February 15, 2023 21:58
@cwfitzgerald cwfitzgerald merged commit 719ba83 into gfx-rs:master Feb 15, 2023
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