@@ -428,16 +428,6 @@ pub fn main() {
428
428
crate :: framework:: run :: < Example > ( "texture-arrays" ) ;
429
429
}
430
430
431
- #[ cfg( test) ]
432
- fn test_parameters ( ) -> wgpu_test:: TestParameters {
433
- wgpu_test:: TestParameters :: default ( )
434
- // https://github.com/gfx-rs/wgpu/issues/7287
435
- . expect_fail ( wgpu_test:: FailureCase :: backend_adapter (
436
- wgpu:: Backends :: METAL ,
437
- "Apple M" ,
438
- ) )
439
- }
440
-
441
431
#[ cfg( test) ]
442
432
#[ wgpu_test:: gpu_test]
443
433
static TEST : crate :: framework:: ExampleTestParams = crate :: framework:: ExampleTestParams {
@@ -446,7 +436,7 @@ static TEST: crate::framework::ExampleTestParams = crate::framework::ExampleTest
446
436
width : 1024 ,
447
437
height : 768 ,
448
438
optional_features : wgpu:: Features :: empty ( ) ,
449
- base_test_parameters : test_parameters ( ) ,
439
+ base_test_parameters : wgpu_test :: TestParameters :: default ( ) ,
450
440
comparisons : & [ wgpu_test:: ComparisonType :: Mean ( 0.0 ) ] ,
451
441
_phantom : std:: marker:: PhantomData :: < Example > ,
452
442
} ;
@@ -459,7 +449,7 @@ static TEST_UNIFORM: crate::framework::ExampleTestParams = crate::framework::Exa
459
449
width : 1024 ,
460
450
height : 768 ,
461
451
optional_features : wgpu:: Features :: empty ( ) ,
462
- base_test_parameters : test_parameters ( ) ,
452
+ base_test_parameters : wgpu_test :: TestParameters :: default ( ) ,
463
453
comparisons : & [ wgpu_test:: ComparisonType :: Mean ( 0.0 ) ] ,
464
454
_phantom : std:: marker:: PhantomData :: < Example > ,
465
455
} ;
@@ -474,7 +464,7 @@ static TEST_NON_UNIFORM: crate::framework::ExampleTestParams =
474
464
height : 768 ,
475
465
optional_features :
476
466
wgpu:: Features :: SAMPLED_TEXTURE_AND_STORAGE_BUFFER_ARRAY_NON_UNIFORM_INDEXING ,
477
- base_test_parameters : test_parameters ( ) ,
467
+ base_test_parameters : wgpu_test :: TestParameters :: default ( ) ,
478
468
comparisons : & [ wgpu_test:: ComparisonType :: Mean ( 0.0 ) ] ,
479
469
_phantom : std:: marker:: PhantomData :: < Example > ,
480
470
} ;
0 commit comments