@@ -4503,23 +4503,23 @@ def test_webgl_simple_extensions(self, webgl_version, simple_enable_extensions):
4503
4503
})
4504
4504
@requires_webgpu
4505
4505
def test_webgpu_basic_rendering (self , args ):
4506
- self .btest_exit ('webgpu_basic_rendering.cpp' , emcc_args = ['-sUSE_WEBGPU' ] + args )
4506
+ self .btest_exit ('webgpu_basic_rendering.cpp' , emcc_args = ['-Wno-error=deprecated' , '- sUSE_WEBGPU' ] + args )
4507
4507
4508
4508
@requires_webgpu
4509
4509
def test_webgpu_required_limits (self ):
4510
- self .btest_exit ('webgpu_required_limits.c' , emcc_args = ['-sUSE_WEBGPU' , '-sASYNCIFY' ])
4510
+ self .btest_exit ('webgpu_required_limits.c' , emcc_args = ['-Wno-error=deprecated' , '- sUSE_WEBGPU' , '-sASYNCIFY' ])
4511
4511
4512
4512
# TODO(#19645): Extend this test to proxied WebGPU when it's re-enabled.
4513
4513
@requires_webgpu
4514
4514
def test_webgpu_basic_rendering_pthreads (self ):
4515
- self .btest_exit ('webgpu_basic_rendering.cpp' , emcc_args = ['-sUSE_WEBGPU' , '-pthread' , '-sOFFSCREENCANVAS_SUPPORT' ])
4515
+ self .btest_exit ('webgpu_basic_rendering.cpp' , emcc_args = ['-Wno-error=deprecated' , '- sUSE_WEBGPU' , '-pthread' , '-sOFFSCREENCANVAS_SUPPORT' ])
4516
4516
4517
4517
def test_webgpu_get_device (self ):
4518
- self .btest_exit ('webgpu_get_device.cpp' , emcc_args = ['-sUSE_WEBGPU' , '-sASSERTIONS' , '--closure=1' ])
4518
+ self .btest_exit ('webgpu_get_device.cpp' , emcc_args = ['-Wno-error=deprecated' , '- sUSE_WEBGPU' , '-sASSERTIONS' , '--closure=1' ])
4519
4519
4520
4520
# TODO(#19645): Extend this test to proxied WebGPU when it's re-enabled.
4521
4521
def test_webgpu_get_device_pthreads (self ):
4522
- self .btest_exit ('webgpu_get_device.cpp' , emcc_args = ['-sUSE_WEBGPU' , '-pthread' ])
4522
+ self .btest_exit ('webgpu_get_device.cpp' , emcc_args = ['-Wno-error=deprecated' , '- sUSE_WEBGPU' , '-pthread' ])
4523
4523
4524
4524
# Tests the feature that shell html page can preallocate the typed array and place it
4525
4525
# to Module.buffer before loading the script page.
0 commit comments