|
468 | 468 | <a href="#467" id="467">467</a> |
469 | 469 | <a href="#468" id="468">468</a> |
470 | 470 | <a href="#469" id="469">469</a> |
471 | | -<a href="#470" id="470">470</a> |
472 | | -<a href="#471" id="471">471</a> |
473 | | -<a href="#472" id="472">472</a> |
474 | | -<a href="#473" id="473">473</a> |
475 | | -<a href="#474" id="474">474</a> |
476 | | -<a href="#475" id="475">475</a> |
477 | | -<a href="#476" id="476">476</a> |
478 | | -<a href="#477" id="477">477</a> |
479 | | -<a href="#478" id="478">478</a> |
480 | | -<a href="#479" id="479">479</a> |
481 | | -<a href="#480" id="480">480</a></pre></div><pre class="rust"><code><span class="kw">use </span>bytemuck::{Pod, Zeroable}; |
| 471 | +<a href="#470" id="470">470</a></pre></div><pre class="rust"><code><span class="kw">use </span>bytemuck::{Pod, Zeroable}; |
482 | 472 | <span class="kw">use </span>std::num::{NonZeroU32, NonZeroU64}; |
483 | 473 | <span class="kw">use </span>wgpu::util::DeviceExt; |
484 | 474 |
|
|
908 | 898 | <span class="kw">crate</span>::framework::run::<Example>(<span class="string">"texture-arrays"</span>); |
909 | 899 | } |
910 | 900 |
|
911 | | -<span class="attr">#[cfg(test)] |
912 | | -</span><span class="kw">fn </span>test_parameters() -> wgpu_test::TestParameters { |
913 | | - wgpu_test::TestParameters::default() |
914 | | - <span class="comment">// https://github.com/gfx-rs/wgpu/issues/7287 |
915 | | - </span>.expect_fail(wgpu_test::FailureCase::backend_adapter( |
916 | | - wgpu::Backends::METAL, |
917 | | - <span class="string">"Apple M"</span>, |
918 | | - )) |
919 | | -} |
920 | | - |
921 | 901 | <span class="attr">#[cfg(test)] |
922 | 902 | #[wgpu_test::gpu_test] |
923 | 903 | </span><span class="kw">static </span>TEST: <span class="kw">crate</span>::framework::ExampleTestParams = <span class="kw">crate</span>::framework::ExampleTestParams { |
|
926 | 906 | width: <span class="number">1024</span>, |
927 | 907 | height: <span class="number">768</span>, |
928 | 908 | optional_features: wgpu::Features::empty(), |
929 | | - base_test_parameters: test_parameters(), |
| 909 | + base_test_parameters: wgpu_test::TestParameters::default(), |
930 | 910 | comparisons: <span class="kw-2">&</span>[wgpu_test::ComparisonType::Mean(<span class="number">0.0</span>)], |
931 | 911 | _phantom: std::marker::PhantomData::<Example>, |
932 | 912 | }; |
|
939 | 919 | width: <span class="number">1024</span>, |
940 | 920 | height: <span class="number">768</span>, |
941 | 921 | optional_features: wgpu::Features::empty(), |
942 | | - base_test_parameters: test_parameters(), |
| 922 | + base_test_parameters: wgpu_test::TestParameters::default(), |
943 | 923 | comparisons: <span class="kw-2">&</span>[wgpu_test::ComparisonType::Mean(<span class="number">0.0</span>)], |
944 | 924 | _phantom: std::marker::PhantomData::<Example>, |
945 | 925 | }; |
|
954 | 934 | height: <span class="number">768</span>, |
955 | 935 | optional_features: |
956 | 936 | wgpu::Features::SAMPLED_TEXTURE_AND_STORAGE_BUFFER_ARRAY_NON_UNIFORM_INDEXING, |
957 | | - base_test_parameters: test_parameters(), |
| 937 | + base_test_parameters: wgpu_test::TestParameters::default(), |
958 | 938 | comparisons: <span class="kw-2">&</span>[wgpu_test::ComparisonType::Mean(<span class="number">0.0</span>)], |
959 | 939 | _phantom: std::marker::PhantomData::<Example>, |
960 | 940 | }; |
|
0 commit comments