mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 15:31:03 +01:00
This option was only evaluated for Metal backends, and now it's required there so the option is going away. It is still configurable for tests via the PipelineOptions struct, deserialized from .ron files. This also fixes some type problems with the unpack functions in writer.rs. Metal << operator extends operand to int-sized, which then has to be cast back down to the real size before as_type bit conversion. The math for the snorm values is corrected, in some cases using the metal unpack_snorm2x16_to_float function because we can't directly cast a bit-shifted ushort value to half.
51 lines
971 B
Rust
51 lines
971 B
Rust
mod regression {
|
|
mod issue_3349;
|
|
mod issue_3457;
|
|
mod issue_4024;
|
|
mod issue_4122;
|
|
mod issue_5553;
|
|
}
|
|
|
|
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!();
|