Commit Graph

94 Commits

Author SHA1 Message Date
Erich Gubler
a06dab1f5d Bug 1947780 - build(webgpu): update WGPU to 723abcb1d3d182f9a4bf973f02c6da39a4090f23 r=webgpu-reviewers,supply-chain-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D238138
2025-02-18 21:28:29 +00:00
Fatih Kilic
9b0c4f2224 Bug 1939903: Collect WebGPU limits and missing features. r=tjr,webidl,jimb,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D233197
2025-01-23 14:49:45 +00:00
Fatih Kilic
83dba06695 Bug 1940800: Spoof hardware support in RFP. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D233755
2025-01-23 14:49:44 +00:00
Fatih Kilic
403403810b Bug 1940797: Clamp limits in requestAdapter. r=tjr,jimb
Differential Revision: https://phabricator.services.mozilla.com/D233196
2025-01-23 14:49:44 +00:00
Cristian Tuns
6d135d7efe Backed out 5 changesets (bug 1940797, bug 1940800, bug 1940819, bug 1939881, bug 1939903) for causing build bustages in ContentChild.cpp CLOSED TREE
Backed out changeset f632ead9f4bd (bug 1939903)
Backed out changeset 30e9f5c7c5b7 (bug 1940800)
Backed out changeset 7ce4c97719aa (bug 1940797)
Backed out changeset f994cb8875ff (bug 1939881)
Backed out changeset ac7780c78455 (bug 1940819)
2025-01-22 19:42:49 -05:00
Fatih Kilic
ca38fb13dd Bug 1939903: Collect WebGPU limits and missing features. r=tjr,webidl,jimb,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D233197
2025-01-22 23:46:33 +00:00
Fatih Kilic
6da71a1a9e Bug 1940800: Spoof hardware support in RFP. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D233755
2025-01-22 23:46:32 +00:00
Fatih Kilic
6d9fe6d3bb Bug 1940797: Clamp limits in requestAdapter. r=tjr,jimb
Differential Revision: https://phabricator.services.mozilla.com/D233196
2025-01-22 23:46:32 +00:00
Erich Gubler
7fb466071d Bug 1933324 - diag(webgpu): incl. Bugzilla URLs in TypeError for recognized-but-unsupported Device features r=webgpu-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D230169
2024-11-26 02:15:33 +00:00
Erich Gubler
67cd1b99d3 Bug 1931630 - feat(webgpu): recognize unimplemented float32-blendable feature r=webgpu-reviewers,webidl,teoxoy,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D229831
2024-11-24 19:11:50 +00:00
Erich Gubler
f15374852b Bug 1931629 - feat(webgpu): recognize unimplemented clip-distances feature r=webgpu-reviewers,webidl,teoxoy,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D229830
2024-11-24 19:11:49 +00:00
Erich Gubler
5c45e35f2f Bug 1924328 - feat(webgpu): recognize unimplemented dual-source-blending feature r=webgpu-reviewers,webidl,teoxoy,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D229829
2024-11-24 19:11:48 +00:00
Erich Gubler
32ac15bbb1 Bug 1932738 - fix(webgpu): prioritize Firefox-unimplemented feature errors over adapter lack-of-support errors r=webgpu-reviewers,teoxoy
Differential Revision: https://phabricator.services.mozilla.com/D229828
2024-11-22 14:28:10 +00:00
Erich Gubler
a1725e30d0 Bug 1932738 - diag(webgpu): clarify meaning of unsupported feature errors r=webgpu-reviewers,teoxoy
Differential Revision: https://phabricator.services.mozilla.com/D229827
2024-11-22 14:28:10 +00:00
Erich Gubler
7d6a5fde66 Bug 1932738 - fix(webgpu): emit TypeError on request of an unimplemented feature instead of warning and MOZ_RELEASE_ASSERTing r=webgpu-reviewers,teoxoy
Differential Revision: https://phabricator.services.mozilla.com/D229826
2024-11-22 14:28:09 +00:00
Erich Gubler
f8894046cb Bug 1919119 - chore(webgpu)!: remove GPUAdapter.requestAdapterInfo method r=webgpu-reviewers,webidl,teoxoy,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D222065
2024-10-18 21:05:29 +00:00
Sandor Molnar
055b681a7e Backed out changeset 499ed7590f79 (bug 1919119) for causing bc failures @ browser_aboutURLs.js CLOSED TREE 2024-10-17 22:28:37 +03:00
Erich Gubler
0deffc1f01 Bug 1919119 - chore(webgpu)!: remove GPUAdapter.requestAdapterInfo method r=webgpu-reviewers,webidl,teoxoy,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D222065
2024-10-17 17:52:41 +00:00
teoxoy
8392936cb5 Bug 1919424 - Avoid unregistering devices in the failure path. r=webgpu-reviewers,bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D225189
2024-10-10 15:56:57 +00:00
Erich Gubler
9aed24c84b Bug 1919404 - chore(webgpu)!: remove GPUSupportedLimits.maxInterStageShaderComponents r=webgpu-reviewers,webidl,nical,saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D223889
2024-09-27 16:51:25 +00:00
Erich Gubler
00b12f9f27 Bug 1910206 - chore(webgpu): warn on use of deprecated GPUAdapter.requestAdapterInfo r=webgpu-reviewers,jgilbert
@jimb and I thought this would be an important signal for users while we wait to land D222065.

Differential Revision: https://phabricator.services.mozilla.com/D222336
2024-09-19 16:01:37 +00:00
Erich Gubler
59899075f1 Bug 1910206 - feat(webgpu): add GPUAdapter.info member r=webgpu-reviewers,webidl,saschanaz,nical
Differential Revision: https://phabricator.services.mozilla.com/D217888
2024-09-16 15:39:45 +00:00
Erich Gubler
96e421f759 Bug 1910206 - refactor(webgpu): make AdapterInfo a refcounted object r=webgpu-reviewers,webidl,saschanaz,smaug,nical
Differential Revision: https://phabricator.services.mozilla.com/D222215
2024-09-16 15:39:45 +00:00
Erich Gubler
8319bffd0d Bug 1910206 - refactor(webgpu): rename Adapter::mInfo to mInfoInner r=webgpu-reviewers,nical
This member will go away once `GPUAdapter.requestAdapterInfo` is
removed in D217888.

Differential Revision: https://phabricator.services.mozilla.com/D222214
2024-09-16 15:39:44 +00:00
sotaro
4eee446826 Bug 1917513 - Add a way to expose if webgpu::Adapter and webgpu::Device support ExternalTexture usage in SwapChain r=webgpu-reviewers,nical
This is a preparation for Bug 1708022 and Bug 1917512.

Current webgpu::Adapter and webgpu::Device do not expose if they support ExternalTexture usage in SwapChain. Then  CanvasContext could not dynamically detect if the Device supports ExternalTexture usage in SwapChain.

The change add a capability to check it.

Differential Revision: https://phabricator.services.mozilla.com/D221423
2024-09-09 12:56:07 +00:00
Jim Blandy
c57ff07601 Bug 1913121: Update wgpu to c6a3d9273 (2024-08-13) r=webgpu-reviewers,supply-chain-reviewers,ErichDonGubler,teoxoy
Adapt `wgpu_server_queue_submit` to the new submission index
type.

Use corrected spelling `WGPUTextureFormat_Rg11b10UFloat`.

Assign queue ids explicitly, rather than deriving them from device ids:

- `wgpu_bindings::client::IdentityHub`: add an `IdentityManager` for queues.
  Initialize it in `IdentityHub::default`.

- `dom::webgpu::DeviceRequest`: hold separate `mDeviceId` and `mQueueId`
  members.

- `wgpu_client_make_device_id`: rename to `wgpu_client_make_device_queue_id`,
  and have it allocate both a device id and a queue id.

- `PWebGPU` protocol's `AdapterRequestDevice` request: explicitly pass
  an id for the new queue.

- `WebGPUChild::AdapterRequestDevice`: pass through the queue id from
  `wgpu_client_make_device_queue_id` through to `SendAdapterRequestDevice`,
  and also return it as `DeviceRequest::mQueueId`.

- `WebGPUParent::RecvAdapterRequestDevice`: accept a queue id, and pass
  it along to `ffi::wgpu_server_adapter_request_device`.

- `wgpu_server_adapter_request_device`: take a new argument specifying the
  new queue's id, and pass that along to `global.adapter_request_device`.

- `dom::webgpu::Adapter::RequestDevice`: given the `DeviceRequest` returned by
  `WebGPUChild::AdapterRequestDevice`, pass the ids for both the new device and
  the new queue to `dom::webgpu::Device::Device`.

- Let `dom::webgpu::Device::Device` take a new argument explicitly specifying
  the device's queue's id.

Differential Revision: https://phabricator.services.mozilla.com/D219356
2024-08-19 18:46:19 +00:00
Teodor Tanasoaia
1b026522e8 Bug 1906679 - Update wgpu to revision c5e4bfa5a15069a8ec08c9081e511ec15efa92e8. r=webgpu-reviewers,supply-chain-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D216375
2024-07-15 21:38:15 +00:00
Teodor Tanasoaia
ee17a209bf Bug 1897131 - Disable shader-f16 feature advertisement in WebGPU. r=webgpu-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D212829
2024-06-10 08:07:42 +00:00
Peter Van der Beken
9e9199880e Bug 1640839 - Stop generating a sentinel value at the end of WebIDL enums. r=mccr8,jgilbert,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201344
2024-03-02 07:50:25 +00:00
Peter Van der Beken
d649c621e8 Bug 1640839 - Add MakeEnumeratedRange helper for WebIDL enums. r=mccr8,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201343
2024-03-02 07:50:24 +00:00
Peter Van der Beken
eebaaa23dc Bug 1640839 - Make WebIDL enum helper function to convert to string return an actual string. r=mccr8,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201337
2024-03-02 07:50:21 +00:00
Natalia Csoregi
10b9ceb789 Backed out 13 changesets (bug 1640839) for causing bustage on Element.cpp CLOSED TREE
Backed out changeset 179ceb82c9e5 (bug 1640839)
Backed out changeset 73f498a821f0 (bug 1640839)
Backed out changeset dc2d3d0e0365 (bug 1640839)
Backed out changeset ddc989ac0509 (bug 1640839)
Backed out changeset e595bb3feea8 (bug 1640839)
Backed out changeset c85aca04e27f (bug 1640839)
Backed out changeset 98e8e3a4047a (bug 1640839)
Backed out changeset 59ef180517db (bug 1640839)
Backed out changeset af2f5e293662 (bug 1640839)
Backed out changeset 89aa6d9dc598 (bug 1640839)
Backed out changeset 67b722a722f9 (bug 1640839)
Backed out changeset 24a9665c6ced (bug 1640839)
Backed out changeset d93f199385e9 (bug 1640839)
2024-03-01 18:23:08 +02:00
Peter Van der Beken
e0fa109cb0 Bug 1640839 - Stop generating a sentinel value at the end of WebIDL enums. r=mccr8,jgilbert,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201344
2024-03-01 14:31:15 +00:00
Peter Van der Beken
565113fb98 Bug 1640839 - Add MakeEnumeratedRange helper for WebIDL enums. r=mccr8,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201343
2024-03-01 14:31:15 +00:00
Peter Van der Beken
171fc86507 Bug 1640839 - Make WebIDL enum helper function to convert to string return an actual string. r=mccr8,media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D201337
2024-03-01 14:31:11 +00:00
Nicolas Silva
4da488f7d5 Bug 1868672 - Update wgpu to revision ff7b2c399301cca9bcbc5b19a869feb3c29ef785. r=webgpu-reviewers,supply-chain-reviewers,jimb
# Changelog

 * #4807 Bump wasm-bindgen-test from 0.3.38 to 0.3.39
   By dependabot[bot] in https://github.com/gfx-rs/wgpu/pull/4807
 * #4830 Use Display instead of Debug to log errors.
   By nical in https://github.com/gfx-rs/wgpu/pull/4830
 * #4755 [naga wgsl-in] Automatic conversions for `var` initializers.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4755
 * #4755 [naga wgsl-in] Automatic conversions for `var` initializers.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4755
 * #4755 [naga wgsl-in] Automatic conversions for `var` initializers.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4755
 * #4832 vulkan: fix multi-planar texture creation
   By xiaopengli89 in https://github.com/gfx-rs/wgpu/pull/4832
 * #4758 [vk] remove (old) unused blocklist for dual source blending
   By teoxoy in https://github.com/gfx-rs/wgpu/pull/4758
 * #4828 Remove DX11 backend
   By valaphee in https://github.com/gfx-rs/wgpu/pull/4828
 * #4836 [gl] add support for line and point polygon modes
   By valaphee in https://github.com/gfx-rs/wgpu/pull/4836
 * #4820 Bump futures-lite from 2.0.1 to 2.1.0
   By dependabot[bot] in https://github.com/gfx-rs/wgpu/pull/4820
 * #4811 Expose shader validation
   By daxpedda in https://github.com/gfx-rs/wgpu/pull/4811
 * #3507 [wgpu-hal] Inline RayQuery Support
   By daniel-keitel in https://github.com/gfx-rs/wgpu/pull/3507
 * #4726 Fix Javascript exception on repeated `BufferSlice::get_mapped_range` calls
   By DouglasDwyer in https://github.com/gfx-rs/wgpu/pull/4726
 * #4841 Remove `expose-ids` Feature
   By cwfitzgerald in https://github.com/gfx-rs/wgpu/pull/4841
 * #4843 Some Minor `wgpu-core` Cleanups
   By cwfitzgerald in https://github.com/gfx-rs/wgpu/pull/4843
 * #4844 Work around cbindgen issue
   By nical in https://github.com/gfx-rs/wgpu/pull/4844

Differential Revision: https://phabricator.services.mozilla.com/D195735
2023-12-08 17:49:34 +00:00
Nicolas Silva
23de971d24 Bug 1868143 - Update wgpu to revision 767ac03245ee937d3dc552edc13fe7ab0a860eec. r=webgpu-reviewers,supply-chain-reviewers,ErichDonGubler
# Changelog

 * #4708 Fix max_vertex_buffers validation
   By nical in https://github.com/gfx-rs/wgpu/pull/4708
 * #4729 Remove expected failure on AMD/DX12 from msaa example
   By teoxoy in https://github.com/gfx-rs/wgpu/pull/4729
 * #4711 [naga] Add `Literal::I64`, for signed 64-bit integer literals.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4711
 * #4736 Bump serde from 1.0.192 to 1.0.193
   By dependabot[bot] in https://github.com/gfx-rs/wgpu/pull/4736
 * #4735 [naga]: Let `TypeInner::Matrix` hold a `Scalar`, not just a width.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4735
 * #4741 [naga] Fix type error in test.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4741
 * #4742 [naga]: Make snapshot tests include paths in errors.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4742
 * #4723 Test And Normalize Vertex Behavior on All Backends
   By cwfitzgerald in https://github.com/gfx-rs/wgpu/pull/4723
 * #4746 Skip Flaky Test
   By cwfitzgerald in https://github.com/gfx-rs/wgpu/pull/4746
 * #4744 Ensure DeviceLostClosureC callbacks have null-terminated message strings
   By bradwerth in https://github.com/gfx-rs/wgpu/pull/4744
 * #4745 [naga wgsl-in] Test hex float suffix handling corner case.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4745
 * #4737 Make the command_encoder_clear_buffer's size an Option<BufferAddress>
   By nical in https://github.com/gfx-rs/wgpu/pull/4737
 * #4701 [naga msl-out] Emit and init `struct` member padding always
   By ErichDonGubler in https://github.com/gfx-rs/wgpu/pull/4701
 * #4701 [naga msl-out] Emit and init `struct` member padding always
   By ErichDonGubler in https://github.com/gfx-rs/wgpu/pull/4701
 * #4701 [naga msl-out] Emit and init `struct` member padding always
   By ErichDonGubler in https://github.com/gfx-rs/wgpu/pull/4701
 * #4701 [naga msl-out] Emit and init `struct` member padding always
   By ErichDonGubler in https://github.com/gfx-rs/wgpu/pull/4701
 * #4733 [naga wgsl-in] Preserve type names in `alias` declarations.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4733
 * #4734 [naga] Make compaction preserve named types, even if unused.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4734
 * #4752 Logging cleanups in device/global.rs
   By nical in https://github.com/gfx-rs/wgpu/pull/4752
 * #4753 Fix Mac Event Loop
   By cwfitzgerald in https://github.com/gfx-rs/wgpu/pull/4753
 * #4754 wgpu-hal(vk): Add WGPU_ALLOW_NONCOMPLIANT_ADAPTER
   By i509VCB in https://github.com/gfx-rs/wgpu/pull/4754
 * #4748 Allow Tests to Expect Certain Panic or Validation Messages
   By cwfitzgerald in https://github.com/gfx-rs/wgpu/pull/4748
 * #4756 Move to A Single Example Executable
   By cwfitzgerald in https://github.com/gfx-rs/wgpu/pull/4756
 * #4747 [naga wgsl-in] Experimental 64-bit floating-point literals.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4747
 * #4747 [naga wgsl-in] Experimental 64-bit floating-point literals.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4747
 * #4761 [naga] Make the `example_wgsl` test build without `wgsl-in` feature.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4761
 * #4769 Conditionally lift API logging from trace to info level
   By nical in https://github.com/gfx-rs/wgpu/pull/4769
 * #4771 Downgrade some of wgpu_core's logging level from info to trace and debug
   By nical in https://github.com/gfx-rs/wgpu/pull/4771
 * #4760 Rename `ALLOW_NONCOMPLIANT_ADAPTER` to `ALLOW_UNDERLYING_NONCOMPLIANT_ADAPTER`
   By teoxoy in https://github.com/gfx-rs/wgpu/pull/4760
 * #4772 Downgrade resource lifetime management log level to trace.
   By nical in https://github.com/gfx-rs/wgpu/pull/4772
 * #4765 Revamp Examples to Match Website
   By cwfitzgerald in https://github.com/gfx-rs/wgpu/pull/4765
 * #4774 Update examples readme files
   By roffs in https://github.com/gfx-rs/wgpu/pull/4774
 * #4781 remove_abandoned fix
   By gents83 in https://github.com/gfx-rs/wgpu/pull/4781
 * #4777 Bump web-sys to 0.3.65
   By torokati44 in https://github.com/gfx-rs/wgpu/pull/4777
 * #4780 Fixes for Skybox and All Examples
   By cwfitzgerald in https://github.com/gfx-rs/wgpu/pull/4780
 * #4782 Remove resources ONLY when needed inside wgpu and not in user land
   By gents83 in https://github.com/gfx-rs/wgpu/pull/4782
 * #4786 Don't keep a strong ref in storage for destroyed resources
   By gents83 in https://github.com/gfx-rs/wgpu/pull/4786
 * #4795 Fix Arcanization changelog
   By a1phyr in https://github.com/gfx-rs/wgpu/pull/4795
 * #4794 Delete/rename now-unused gpu.rs
   By exrook in https://github.com/gfx-rs/wgpu/pull/4794
 * #4794 Delete/rename now-unused gpu.rs
   By exrook in https://github.com/gfx-rs/wgpu/pull/4794
 * #4573 Support nv12 texture format
   By xiaopengli89 in https://github.com/gfx-rs/wgpu/pull/4573
 * #4789 Bump js-sys from 0.3.65 to 0.3.66
   By dependabot[bot] in https://github.com/gfx-rs/wgpu/pull/4789
 * #4784 Bump winit from 0.29.3 to 0.29.4
   By dependabot[bot] in https://github.com/gfx-rs/wgpu/pull/4784
 * #4798 Bump JamesIves/github-pages-deploy-action from 4.4.3 to 4.5.0
   By dependabot[bot] in https://github.com/gfx-rs/wgpu/pull/4798
 * #4800 Bump web-sys from 0.3.65 to 0.3.66
   By dependabot[bot] in https://github.com/gfx-rs/wgpu/pull/4800
 * #4743 Implement WGSL abstract types for global `const` declarations and constructor calls.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4743
 * #4743 Implement WGSL abstract types for global `const` declarations and constructor calls.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4743
 * #4743 Implement WGSL abstract types for global `const` declarations and constructor calls.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4743
 * #4743 Implement WGSL abstract types for global `const` declarations and constructor calls.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4743
 * #4743 Implement WGSL abstract types for global `const` declarations and constructor calls.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4743
 * #4743 Implement WGSL abstract types for global `const` declarations and constructor calls.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4743
 * #4743 Implement WGSL abstract types for global `const` declarations and constructor calls.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4743
 * #4743 Implement WGSL abstract types for global `const` declarations and constructor calls.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4743
 * #4743 Implement WGSL abstract types for global `const` declarations and constructor calls.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4743
 * #4799 Bump wasm-bindgen-futures from 0.4.38 to 0.4.39
   By dependabot[bot] in https://github.com/gfx-rs/wgpu/pull/4799
 * #4796 Remove surface extent validation (and thus fix the annoying `Requested size ... is outside of the supported range` warning)
   By Wumpf in https://github.com/gfx-rs/wgpu/pull/4796
 * #4804 Add space to a comment inside make_spirv_raw
   By ComfyFluffy in https://github.com/gfx-rs/wgpu/pull/4804
 * #4803 `features`/`limits` refactors
   By teoxoy in https://github.com/gfx-rs/wgpu/pull/4803
 * #4803 `features`/`limits` refactors
   By teoxoy in https://github.com/gfx-rs/wgpu/pull/4803
 * #4803 `features`/`limits` refactors
   By teoxoy in https://github.com/gfx-rs/wgpu/pull/4803
 * #4803 `features`/`limits` refactors
   By teoxoy in https://github.com/gfx-rs/wgpu/pull/4803
 * #4803 `features`/`limits` refactors
   By teoxoy in https://github.com/gfx-rs/wgpu/pull/4803
 * #4805 [naga] Improve ConstantEvaluatorError::InvalidCastArg message.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4805
 * #4801 update deno
   By crowlKats in https://github.com/gfx-rs/wgpu/pull/4801
 * #4806 Fixes and changes to the documentation for increasing clarity
   By Blatko1 in https://github.com/gfx-rs/wgpu/pull/4806
 * #4809 [naga wgsl-in] Use a better span for errors in constructors.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4809
 * #4808 [naga wgsl-in] Drop spanless labels from front-end error messages.
   By jimblandy in https://github.com/gfx-rs/wgpu/pull/4808
 * #4822 Fix expected error message
   By teoxoy in https://github.com/gfx-rs/wgpu/pull/4822
 * #4759 Add feature float32-filterable
   By almarklein in https://github.com/gfx-rs/wgpu/pull/4759
 * #4813 Bump core-graphics-types from 0.1.2 to 0.1.3
   By dependabot[bot] in https://github.com/gfx-rs/wgpu/pull/4813

Differential Revision: https://phabricator.services.mozilla.com/D195438
2023-12-04 22:30:03 +00:00
Nicolas Silva
d71febc53e Bug 1865311 - Fix inconsistent destroy/drop naming in webgpu IPC. r=webgpu-reviewers,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D193894
2023-11-17 20:11:22 +00:00
Teodor Tanasoaia
8b6a3783c6 Bug 1859999 - Update wgpu to revision 75989192a9c8f70893882ce0f4373ac217d380c3. r=webgpu-reviewers,supply-chain-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D191400
2023-10-25 13:54:06 +00:00
Nicolas Silva
d2a253ad87 Bug 1846661 - Don't convert gpu limits to double. r=gfx-reviewers,ErichDonGubler
Differential Revision: https://phabricator.services.mozilla.com/D185816
2023-08-10 13:10:28 +00:00
Erich Gubler
905a5f042b Bug 1843250: fix(webgpu): clamp required limits properly r=webgpu-reviewers,nical
Differential Revision: https://phabricator.services.mozilla.com/D183938
2023-07-20 15:17:55 +00:00
Erich Gubler
0803030feb Bug 1843250: refactor(webgpu): move "Alignment" limit name check into "min" check r=webgpu-reviewers,nical
We'll need this for a fix in a second. We have no limits that start with
`min` that _don't_ end in `Alignment` ATM, so this should change no
observable behavior.

Differential Revision: https://phabricator.services.mozilla.com/D183937
2023-07-20 15:17:55 +00:00
Kelsey Gilbert
0a1a8b289d Bug 1812353 - Update GPUSupportedLimits in webgpu.webidl. r=webgpu-reviewers,webidl,saschanaz,jimb,emilio,smaug
* Add validation for requested features and devices for
adapter.requestDevice().
* Promote webgl's AutoAssertCast to mfbt/Casting.h/LazyAssertedCast.

Differential Revision: https://phabricator.services.mozilla.com/D177110
2023-06-12 21:10:11 +00:00
Stanca Serban
eba12e89d3 Backed out changeset 8352bc23343d (bug 1812353) for causing build bustages in Adapter.cpp. CLOSED TREE 2023-06-09 23:42:09 +03:00
Kelsey Gilbert
02035d2f32 Bug 1812353 - Update GPUSupportedLimits in webgpu.webidl. r=webgpu-reviewers,webidl,saschanaz,jimb,emilio,smaug
* Add validation for requested features and devices for
adapter.requestDevice().
* Promote webgl's AutoAssertCast to mfbt/Casting.h/LazyAssertedCast.

Differential Revision: https://phabricator.services.mozilla.com/D177110
2023-06-09 19:52:39 +00:00
Erich Gubler
d4f70ccfb4 Bug 1832451 - Vendor wgpu changes. r=webgpu-reviewers,jgilbert
Depends on D177827

Differential Revision: https://phabricator.services.mozilla.com/D177829
2023-05-25 18:01:03 +00:00
Erich Gubler
91e9fdd6f7 Bug 1653164: feat(webgpu): show wgpu* fields for WebGPU adapters in about:support r=webgpu-reviewers,webidl,saschanaz,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D177402
2023-05-10 19:29:32 +00:00
Stanca Serban
aad13fc5d1 Backed out 3 changesets (bug 1653164) for causing bp-nu bustages in Adapter.h. CLOSED TREE
Backed out changeset 938fa5409a7a (bug 1653164)
Backed out changeset 1b25345f09e5 (bug 1653164)
Backed out changeset 91185e96b467 (bug 1653164)
2023-05-10 07:59:41 +03:00
Erich Gubler
13cbb7f40d Bug 1653164: feat(webgpu): show wgpu* fields for WebGPU adapters in about:support r=webgpu-reviewers,webidl,saschanaz,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D177402
2023-05-10 00:46:00 +00:00
Narcis Beleuzu
cf5ed4cf31 Backed out 3 changesets (bug 1653164) for build bustages on Adapter.h . CLOSED TREE
Backed out changeset 6f36f0a844be (bug 1653164)
Backed out changeset 86be7d9d8fa1 (bug 1653164)
Backed out changeset 984a479a81d8 (bug 1653164)
2023-05-10 01:42:57 +03:00