File tree Expand file tree Collapse file tree 1 file changed +24
-22
lines changed
tests/tests/wgpu-gpu/mesh_shader Expand file tree Collapse file tree 1 file changed +24
-22
lines changed Original file line number Diff line number Diff line change @@ -508,25 +508,27 @@ pub static MESH_MULTI_DRAW_INDIRECT_COUNT: GpuTestConfiguration =
508508/// should be rejected. This should be the case on all backends, not just the
509509/// ones where the feature could be turned on.
510510#[ gpu_test]
511- pub static MESH_DISABLED : GpuTestConfiguration = GpuTestConfiguration :: new ( ) . run_sync ( |ctx| {
512- fail (
513- & ctx. device ,
514- || {
515- mesh_pipeline_build (
516- & ctx,
517- MeshPipelineTestInfo {
518- use_task : false ,
519- use_mesh : false ,
520- use_frag : false ,
521- draw : true ,
522- } ,
523- ) ;
524- } ,
525- Some ( concat ! [
526- "Features Features { " ,
527- "features_wgpu: FeaturesWGPU(EXPERIMENTAL_MESH_SHADER), " ,
528- "features_webgpu: FeaturesWebGPU(0x0) " ,
529- "} are required but not enabled on the device" ,
530- ] ) ,
531- )
532- } ) ;
511+ pub static MESH_DISABLED : GpuTestConfiguration = GpuTestConfiguration :: new ( )
512+ . parameters ( TestParameters :: default ( ) . features ( wgpu:: Features :: EXPERIMENTAL_MESH_SHADER ) )
513+ . run_sync ( |ctx| {
514+ fail (
515+ & ctx. device ,
516+ || {
517+ mesh_pipeline_build (
518+ & ctx,
519+ MeshPipelineTestInfo {
520+ use_task : false ,
521+ use_mesh : false ,
522+ use_frag : false ,
523+ draw : true ,
524+ } ,
525+ ) ;
526+ } ,
527+ Some ( concat ! [
528+ "Features Features { " ,
529+ "features_wgpu: FeaturesWGPU(EXPERIMENTAL_MESH_SHADER), " ,
530+ "features_webgpu: FeaturesWebGPU(0x0) " ,
531+ "} are required but not enabled on the device" ,
532+ ] ) ,
533+ )
534+ } ) ;
You can’t perform that action at this time.
0 commit comments