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
Erich Gubler
154bf69888
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-09 21:47:34 +00:00
Stanca Serban
3d4efc87d5
Backed out 3 changesets (bug 1653164) for causing builds bustages in Adapter.h. CLOSED TREE
...
Backed out changeset 037d37f4eb71 (bug 1653164)
Backed out changeset 32ca1ab63d70 (bug 1653164)
Backed out changeset a996e5517aa1 (bug 1653164)
2023-05-09 21:43:27 +03:00
Erich Gubler
cf4abb388d
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-09 17:47:26 +00:00
Erich Gubler
127f98832d
Bug 1830336: fix(webgpu): support depth32float-stencil8 feature/texture format r=webgpu-reviewers,webidl,saschanaz,jimb
...
Differential Revision: https://phabricator.services.mozilla.com/D176710
2023-05-09 17:30:31 +00:00
Kelsey Gilbert
b9828f18a5
Bug 1814101 - Add requestAdapterInfo for webgpu. r=gfx-reviewers,webidl,jimb,smaug
...
Like the old `name` attribute it replaces, it's always empty for now.
Differential Revision: https://phabricator.services.mozilla.com/D174817
2023-04-12 18:51:46 +00:00
Cristina Horotan
b10f47e961
Backed out changeset 206c3002c228 (bug 1814101) for causing mochitest failures at test_interfaces_secureContext.html CLOSED TREE
2023-04-12 10:43:18 +03:00
Kelsey Gilbert
b5bd6d71fd
Bug 1814101 - Add requestAdapterInfo for webgpu. r=gfx-reviewers,webidl,jimb,smaug
...
Like the old `name` attribute it replaces, it's always empty for now.
Differential Revision: https://phabricator.services.mozilla.com/D174817
2023-04-12 05:50:38 +00:00
Kagami Sascha Rosylight
c3a856ec63
Bug 1768189 - Part 40: Apply modernize-concat-nested-namespaces to dom/webauthn/PublicKeyCredential.h ... r=andi
...
Depends on D145775
Differential Revision: https://phabricator.services.mozilla.com/D145776
2022-05-09 20:41:19 +00:00
Andrew Osmond
5fe64d9beb
Bug 1709951 - Make WebGPU handle GPU process loss. r=gfx-reviewers,webidl,jgilbert,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D143247
2022-04-27 21:13:21 +00:00
Dzmitry Malyshau
acf01e19b6
Bug 1751718 - Reject WebGPU device promise on wrong features and limits r=jimb
...
Differential Revision: https://phabricator.services.mozilla.com/D136770
2022-01-28 00:08:53 +00:00
Dzmitry Malyshau
ec013382e3
Bug 1743667 - Fix GPUSupportedFeatures on WebGPU device r=jimb
...
Differential Revision: https://phabricator.services.mozilla.com/D133907
2021-12-15 20:31:34 +00:00
Dzmitry Malyshau
e8b4f36fac
Bug 1743667 - Hook up WebGPU device limits and features r=jgilbert,webidl,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D133280
2021-12-10 01:09:04 +00:00
Dzmitry Malyshau
adce393222
WIP: Bug 1622846 - Support WebGPU adapter isFallbackAdapter r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D133208
2021-12-08 15:54:26 +00:00
Dzmitry Malyshau
139044c112
Bug 1622846 - Update WebGPU API to latest and wgpu-core to 0.9 r=webidl,jgilbert,jimb,emilio
...
This *mostly* gets us the latest WebIDL API of WebGPU. There is a few limits we are missing, and maybe some things I didn't notice.
But it gets us the new `GPUCanvasContext`, `GPUSupportedLimits`, and `GPUVertexStepMode`.
Differential Revision: https://phabricator.services.mozilla.com/D120764
2021-08-18 14:11:21 +00:00
Brindusan Cristian
513c378345
Backed out changeset e34f15d5e74d (bug 1622846) for causing linux toolchain build bustages.
...
CLOSED TREE
2021-08-18 07:58:38 +03:00
Dzmitry Malyshau
4e806a06a7
Bug 1622846 - Update WebGPU API to latest and wgpu-core to 0.9 r=webidl,jgilbert,jimb,emilio
...
This *mostly* gets us the latest WebIDL API of WebGPU. There is a few limits we are missing, and maybe some things I didn't notice.
But it gets us the new `GPUCanvasContext`, `GPUSupportedLimits`, and `GPUVertexStepMode`.
Differential Revision: https://phabricator.services.mozilla.com/D120764
2021-08-17 15:22:45 +00:00
Noemi Erli
f4b0ee5d86
Backed out changeset 3cb3442efede (bug 1622846) for causing Bug 1722702 CLOSED TREE
2021-07-29 20:14:46 +03:00
Dzmitry Malyshau
27794cbf42
Bug 1622846 - Update WebGPU API to latest and wgpu-core to 0.9 r=webidl,jgilbert,jimb,emilio
...
This *mostly* gets us the latest WebIDL API of WebGPU. There is a few limits we are missing, and maybe some things I didn't notice.
But it gets us the new `GPUCanvasContext`, `GPUSupportedLimits`, and `GPUVertexStepMode`.
Differential Revision: https://phabricator.services.mozilla.com/D120764
2021-07-27 22:37:46 +00:00
Dzmitry Malyshau
f128e54e21
Bug 1705531 - Hook up Adapter to Limits and Features for CC r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D112269
2021-04-16 21:08:11 +00:00
Dzmitry Malyshau
dcaf44e39b
Bug 1697509 - Fix WebGPU shaders and adapter limits r=jgilbert
...
Expose adapter limits, hook up spirv-cross
Differential Revision: https://phabricator.services.mozilla.com/D107840
2021-03-16 22:57:08 +00:00
Dzmitry Malyshau
6a98d01bc6
Bug 1622846 - Update WebGPU API with wgpu r=jgilbert,webidl,smaug
...
This is another WebGPU API update, it picks up a lot of changes that were made recently:
- new bind group layout
- new render pipeline descriptor
- new vertex formats
- limits
- compressed texture formats
- index format
- query sets
- and more small ones!
It also brings in the updated `gfx/wgpu` to support these API changes.
Differential Revision: https://phabricator.services.mozilla.com/D107013
2021-03-04 21:25:46 +00:00
Brindusan Cristian
b68b70b031
Backed out changeset 0c0c723b0a0e (bug 1622846) for build bustages in Device.h. CLOSED TREE
2021-03-04 22:02:58 +02:00
Dzmitry Malyshau
9961346482
Bug 1622846 - Update WebGPU API with wgpu r=jgilbert,webidl,smaug
...
This is another WebGPU API update, it picks up a lot of changes that were made recently:
- new bind group layout
- new render pipeline descriptor
- new vertex formats
- limits
- compressed texture formats
- index format
- query sets
- and more small ones!
It also brings in the updated `gfx/wgpu` to support these API changes.
Differential Revision: https://phabricator.services.mozilla.com/D107013
2021-03-04 17:48:28 +00:00
Dzmitry Malyshau
79d0703894
Bug 1622261 - Refactor the ID recycling to always cycle through the GPU process
...
Previously, we kept the object IDs managed on content side only.
The GPU side would work with given indices.
When an object is destroyed, we'd free the ID on the content side and signal the GPU to delete the object.
Problem is that on the GPU process the object may still be kept alive for as long as any dependants are alive.
What this change is doing - hooking up the callbacks to the *actual* freeing of IDs on the GPU side.
These callbacks end up in messages from WebGPUParent to WebGPUChild, and only then the IDs are freed
on the content side and able to be reused.
Differential Revision: https://phabricator.services.mozilla.com/D67211
2020-03-23 07:54:08 +00:00
Boris Zbarsky
183e657b3e
Bug 1612213 part 3. Switch Promise::RejectWithDOMException consumers to new convenience methods. r=smaug,jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D61269
2020-02-03 20:37:32 +00:00