chore: Update wgpu to v25 (#36486)

Updates wgpu to v25 and remove some verbose logging from CTS (that also
causes OOM).

Testing: WebGPU CTS

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
sagudev 2025-04-18 09:49:06 +02:00 committed by GitHub
parent bd9242acfa
commit 05b5268061
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 3833 additions and 2260 deletions

View file

@ -664,7 +664,8 @@ impl WGPU {
limits,
channel: WebGPU(self.sender.clone()),
}
});
})
.map_err(|err| err.to_string());
if let Err(e) = sender.send(Some(response)) {
warn!(
@ -686,6 +687,7 @@ impl WGPU {
required_features: descriptor.required_features,
required_limits: descriptor.required_limits.clone(),
memory_hints: MemoryHints::MemoryUsage,
trace: wgpu_types::Trace::Off,
};
let global = &self.global;
let device = WebGPUDevice(device_id);
@ -694,7 +696,6 @@ impl WGPU {
.adapter_request_device(
adapter_id.0,
&desc,
None,
Some(device_id),
Some(queue_id),
)
@ -733,7 +734,8 @@ impl WGPU {
});
global.device_set_device_lost_closure(device_id, callback);
descriptor
});
})
.map_err(Into::into);
if let Err(e) = sender.send((device, queue, result)) {
warn!(
"Failed to send response to WebGPURequest::RequestDevice ({})",