Skip to content

Conversation

@beaufortfrancois
Copy link
Contributor

@beaufortfrancois beaufortfrancois commented Jun 30, 2023

This PR updates wgpuCreateInstance() to always return 1 and changes wgpuInstanceCreateSurface and wgpuInstanceRequestAdapter to assert its value is 1. It also updates test/webgpu_basic_rendering.cpp test.

See #19349

Please review @kainino0x

Copy link
Collaborator

@kainino0x kainino0x left a comment

Choose a reason for hiding this comment

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

LGTM w/ nit

@kainino0x kainino0x changed the title Allow wgpuCreateInstance Implement wgpuCreateInstance Jun 30, 2023
@kainino0x kainino0x enabled auto-merge (squash) June 30, 2023 20:58
@kainino0x kainino0x merged commit 77cfd2d into emscripten-core:main Jun 30, 2023
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 this pull request may close these issues.

2 participants