Remove failure breaks from webgpu thread (#32814)

* Remove breaks from webgpu requests

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* expect

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* limit,out_of_range TIMEOUT->FAIL

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
Samson 2024-07-20 21:57:53 +02:00 committed by GitHub
parent 2c17de7fa7
commit b471f6473f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 361 additions and 1357 deletions

View file

@ -694,10 +694,6 @@ impl WGPU {
})
.map_err(|e| e.to_string());
if response.is_err() {
break;
}
if let Err(e) = sender.send(WebGPUResponse::Adapter(response)) {
warn!(
"Failed to send response to WebGPURequest::RequestAdapter ({})",
@ -733,7 +729,7 @@ impl WGPU {
e
)
}
break;
continue;
}
let device = WebGPUDevice(device_id);
let queue = WebGPUQueue(queue_id);

File diff suppressed because it is too large Load diff