gecko-dev/supply-chain
Jim Blandy 25da12ca2d 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
..
audits.toml Bug 1913121: Update wgpu to c6a3d9273 (2024-08-13) r=webgpu-reviewers,supply-chain-reviewers,ErichDonGubler,teoxoy 2024-08-19 18:46:19 +00:00
config.toml Backed out changeset fb02d762cca9 (bug 1910796) for causing mass assertion failures on Compression. CLOSED TREE 2024-08-15 15:32:52 +03:00
imports.lock Bug 1913121: Update wgpu to c6a3d9273 (2024-08-13) r=webgpu-reviewers,supply-chain-reviewers,ErichDonGubler,teoxoy 2024-08-19 18:46:19 +00:00
moz.build