Closed Bug 1910206 Opened 7 months ago Closed 5 months ago

`GPUAdapter.info` not present in JS

Categories

(Core :: Graphics: WebGPU, defect, P1)

defect

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: ErichDonGubler, Assigned: ErichDonGubler)

References

Details

Attachments

(4 files, 6 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

This was changed in spec. upstream at gpuweb#4662, and Firefox needs to catch up.

NOTE: Applicable CTS test is webgpu:api,operation,adapter,info:adapter_info:*.

Hello Erich!
Out of curiosity, what is the status of this bug?

As you can see in https://groups.google.com/a/chromium.org/g/blink-dev/c/HxOgGf4NzQ4, the Chrome team is about to deprecate and remove the non-standard GPUAdapter requestAdapterInfo() method now that the GPUAdapter info attribute has been implemented in Chrome and Safari browsers.

Attachment #9416399 - Attachment description: WIP: Bug 1910206 - refactor(webgpu)!: replace `GPUAdapter.requestAdapterInfo` with `info` attr. r=#webgpu-reviewers! → Bug 1910206 - feat(webgpu): add `GPUAdapter.info` member r=#webgpu-reviewers!

beaufort.francois: I've just submitted patches that I've confirmed locally to work with CTS updates, which are awaiting what I suppose will be a fast review. I'll land the first patch adding GPUAdapter.info. Once Chrome and/or Safari confirm the removal of GPUAdapter.requestAdapterInfo, I'll land the second patch, which should close out this issue.

Thank you for the quick fix!

GPUAdapter.requestAdapterInfo is now deprecated in Chrome (https://chromium-review.googlesource.com/c/chromium/src/+/5578020) and will be removed entirely in next milestone.
Safari has recently removed it (https://github.com/gpuweb/gpuweb/pull/4662#issuecomment-2338982367)

This member will go away once GPUAdapter.requestAdapterInfo is
removed.

Keywords: leave-open
Pushed by egubler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ce8839295b98 refactor(webgpu): rename `Adapter::mInfo` to `mInfoInner` r=webgpu-reviewers,nical https://hg.mozilla.org/integration/autoland/rev/c4eb1f5d4f44 refactor(webgpu): make `AdapterInfo` a refcounted object r=webgpu-reviewers,webidl,saschanaz,smaug,nical https://hg.mozilla.org/integration/autoland/rev/eb99617332f0 feat(webgpu): add `GPUAdapter.info` member r=webgpu-reviewers,webidl,saschanaz,nical

@jimb and I thought this would be an important signal for users while we wait to land D222065.

Comment on attachment 9424557 [details]
Bug 1910206 - chore(webgpu)!: remove GPUAdapter.requestAdapterInfo method r=#webgpu-reviewers!

Revision D222065 was moved to bug 1919119. Setting attachment 9424557 [details] to obsolete.

Attachment #9424557 - Attachment is obsolete: true
Summary: Replace `GPUAdapter.requestAdapterInfo` promise with `info` member → Introduce `GPUAdapter.info`
Summary: Introduce `GPUAdapter.info` → `GPUAdapter.info` not present in JS
Blocks: 1919119

This patch is a test of something rather unrelated to this bug. Sorry,
not sorry, I want jj to work with moz-phab! 😅

This patch is a test of something rather unrelated to this bug. Sorry,
not sorry, I want jj to work with moz-phab! 😅

This patch is a test of something rather unrelated to this bug. Sorry,
not sorry, I want jj to work with moz-phab! 😅

This patch is a test of something rather unrelated to this bug. Sorry,
not sorry, I want jj to work with moz-phab! 😅

This patch is a test of something rather unrelated to this bug. Sorry,
not sorry, I want jj to work with moz-phab! 😅

Attachment #9425370 - Attachment is obsolete: true
Attachment #9425366 - Attachment is obsolete: true
Attachment #9425367 - Attachment is obsolete: true
Attachment #9425368 - Attachment is obsolete: true
Attachment #9425365 - Attachment is obsolete: true
Attachment #9425094 - Attachment description: Bug 1910206 - chore(webgpu): warn (once) on use of deprecated `GPUAdapter.requestAdapterInfo` r=#webgpu-reviewers! → Bug 1910206 - chore(webgpu): warn (once per process) on use of deprecated `GPUAdapter.requestAdapterInfo` r=#webgpu-reviewers!
Keywords: leave-open
Attachment #9425094 - Attachment description: Bug 1910206 - chore(webgpu): warn (once per process) on use of deprecated `GPUAdapter.requestAdapterInfo` r=#webgpu-reviewers! → Bug 1910206 - chore(webgpu): warn on use of deprecated `GPUAdapter.requestAdapterInfo` r=#webgpu-reviewers!
Pushed by egubler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/04ec3c099674 chore(webgpu): warn on use of deprecated `GPUAdapter.requestAdapterInfo` r=webgpu-reviewers,jgilbert
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: