wgpu/tests
Erich Gubler fc2fd95a98
fix: handle Queue::submit non-fatally (#6318)
* Change the signature of `wgpu_core::Global::queue_submit` to return
  a `(SubmissionIndex, …)` in addition to its current error type.
* Change the control flow of errors in `Queue::submit` to break to the
  end of a block. This is similar to what we already do in many APIs in
  `wgpu_core`.
* Hoist the scope of the local `submit_index` binding so it can be used
  at the point where we need to convert current error paths to also
  return the submission index.

Later, we will likely want to avoid actually retrieving a new submission
index so we can minimize the critical section of code. We'll need to
figure out a strategy for returning a valid (but not necessarily unique)
index in the case of failures that prevent successful submission.
2024-09-25 02:52:25 +00:00
..
src Only Initialize a Single Backend in Tests (#6315) 2024-09-23 14:21:11 +00:00
tests fix: handle Queue::submit non-fatally (#6318) 2024-09-25 02:52:25 +00:00
Cargo.toml test: fix wgpu-test building by itself (#5912) 2024-07-04 23:31:37 -04:00