mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 22:41:07 +01:00
* 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.
54 lines
1.0 KiB
Rust
54 lines
1.0 KiB
Rust
mod regression {
|
|
mod issue_3349;
|
|
mod issue_3457;
|
|
mod issue_4024;
|
|
mod issue_4122;
|
|
mod issue_4485;
|
|
mod issue_4514;
|
|
mod issue_5553;
|
|
mod issue_6317;
|
|
}
|
|
|
|
mod bgra8unorm_storage;
|
|
mod bind_group_layout_dedup;
|
|
mod bind_groups;
|
|
mod buffer;
|
|
mod buffer_copy;
|
|
mod buffer_usages;
|
|
mod clear_texture;
|
|
mod compute_pass_ownership;
|
|
mod create_surface_error;
|
|
mod device;
|
|
mod encoder;
|
|
mod external_texture;
|
|
mod float32_filterable;
|
|
mod instance;
|
|
mod life_cycle;
|
|
mod mem_leaks;
|
|
mod nv12_texture;
|
|
mod occlusion_query;
|
|
mod partially_bounded_arrays;
|
|
mod pipeline;
|
|
mod pipeline_cache;
|
|
mod poll;
|
|
mod push_constants;
|
|
mod query_set;
|
|
mod queue_transfer;
|
|
mod render_pass_ownership;
|
|
mod resource_descriptor_accessor;
|
|
mod resource_error;
|
|
mod scissor_tests;
|
|
mod shader;
|
|
mod shader_primitive_index;
|
|
mod shader_view_format;
|
|
mod subgroup_operations;
|
|
mod texture_bounds;
|
|
mod texture_view_creation;
|
|
mod transfer;
|
|
mod vertex_formats;
|
|
mod vertex_indices;
|
|
mod write_texture;
|
|
mod zero_init_texture_after_discard;
|
|
|
|
wgpu_test::gpu_test_main!();
|