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 updates for Chrome 116 #20365

Merged
merged 2 commits into from
Jul 19, 2023
Merged

Conversation

chrisdavidmills
Copy link
Contributor

Summary

This PR adds some data points for Chromium 116 WebGPU updates, namely:

  • GPUDevice.importExternalTexture() and GPUQueue.copyExternalImageToTexture() can now use a VideoFrame object as a source. Data point added for each.

  • GPUAdapter.requestDevice() now returns a device that is immediately lost, if it has already been used to create a device (i.e. requestDevice() was already called.) rather than the promise being rejected with null. You can then get lost info from it via GPUDevice.lost. This needs to be added to the return value section. Data point added.

  • GPUPipelineError.GPUPipelineError() message argument is now optional. Data point added.

Test results and supporting details

Related issues

@github-actions github-actions bot added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Jul 17, 2023
@chrisdavidmills chrisdavidmills changed the title Webgpu chrome 116 WebGPU updates for Chrome 116 Jul 17, 2023
Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

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

Thanks

@Elchi3 Elchi3 merged commit 382fc39 into mdn:main Jul 19, 2023
@chrisdavidmills chrisdavidmills deleted the webgpu-chrome-116 branch July 19, 2023 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants