@@ -1343,6 +1343,7 @@ def test_webgl_parallel_shader_compile(self):
13431343 self .btest_exit ('webgl_parallel_shader_compile.cpp' )
13441344
13451345 @requires_graphics_hardware
1346+ @no_4gb ('readPixels fails: https://crbug.com/324992397' )
13461347 def test_webgl_explicit_uniform_location (self ):
13471348 self .btest_exit ('webgl_explicit_uniform_location.c' , args = ['-sGL_EXPLICIT_UNIFORM_LOCATION' , '-sMIN_WEBGL_VERSION=2' ])
13481349
@@ -1351,6 +1352,7 @@ def test_webgl_sampler_layout_binding(self):
13511352 self .btest_exit ('webgl_sampler_layout_binding.c' , args = ['-sGL_EXPLICIT_UNIFORM_BINDING' ])
13521353
13531354 @requires_graphics_hardware
1355+ @no_4gb ('readPixels fails: https://crbug.com/324992397' )
13541356 def test_webgl2_ubo_layout_binding (self ):
13551357 self .btest_exit ('webgl2_ubo_layout_binding.c' , args = ['-sGL_EXPLICIT_UNIFORM_BINDING' , '-sMIN_WEBGL_VERSION=2' ])
13561358
@@ -1552,6 +1554,7 @@ def test_sdl_gl_read(self):
15521554 self .btest_exit ('test_sdl_gl_read.c' , args = ['-lSDL' , '-lGL' ])
15531555
15541556 @requires_graphics_hardware
1557+ @no_4gb ('readPixels fails: https://crbug.com/324992397' )
15551558 def test_sdl_gl_mapbuffers (self ):
15561559 self .btest_exit ('test_sdl_gl_mapbuffers.c' , args = ['-sFULL_ES3' , '-lSDL' , '-lGL' ])
15571560
@@ -2522,7 +2525,7 @@ def test_runtime_misuse(self, mode):
25222525 var xhr = new XMLHttpRequest();
25232526 out('done timeout noted = ' + Module.noted);
25242527 assert(Module.noted);
2525- xhr.open('GET', 'http://localhost:%s/report_result?' + HEAP32[Module.noted>>2 ]);
2528+ xhr.open('GET', 'http://localhost:%s/report_result?' + HEAP32[Module.noted/4 ]);
25262529 xhr.send();
25272530 setTimeout(function() { window.close() }, 1000);
25282531 }, 0);
@@ -2768,6 +2771,7 @@ def test_webgl2(self, args):
27682771
27692772 # Tests the WebGL 2 glGetBufferSubData() functionality.
27702773 @requires_graphics_hardware
2774+ @no_4gb ('getBufferSubData fails: https://crbug.com/325090165' )
27712775 def test_webgl2_get_buffer_sub_data (self ):
27722776 self .btest_exit ('webgl2_get_buffer_sub_data.cpp' , args = ['-sMAX_WEBGL_VERSION=2' , '-lGL' ])
27732777
@@ -2840,30 +2844,36 @@ def test_webgl2_packed_types(self):
28402844 self .btest_exit ('webgl2_draw_packed_triangle.c' , args = ['-lGL' , '-sMAX_WEBGL_VERSION=2' , '-sGL_ASSERTIONS' ])
28412845
28422846 @requires_graphics_hardware
2847+ @no_4gb ('compressedTexSubImage2D fails: https://crbug.com/324562920' )
28432848 def test_webgl2_pbo (self ):
28442849 self .btest_exit ('webgl2_pbo.cpp' , args = ['-sMAX_WEBGL_VERSION=2' , '-lGL' ])
28452850
28462851 @no_firefox ('fails on CI likely due to GPU drivers there' )
28472852 @requires_graphics_hardware
2853+ @no_4gb ('fails to render' )
28482854 def test_webgl2_sokol_mipmap (self ):
28492855 self .btest ('third_party/sokol/mipmap-emsc.c' , args = ['-sMAX_WEBGL_VERSION=2' , '-lGL' , '-O1' ],
28502856 reference = 'third_party/sokol/mipmap-emsc.png' , reference_slack = 2 )
28512857
28522858 @no_firefox ('fails on CI likely due to GPU drivers there' )
2859+ @no_4gb ('fails to render' )
28532860 @requires_graphics_hardware
28542861 def test_webgl2_sokol_mrt (self ):
28552862 self .btest ('third_party/sokol/mrt-emcc.c' , args = ['-sMAX_WEBGL_VERSION=2' , '-lGL' ],
28562863 reference = 'third_party/sokol/mrt-emcc.png' )
28572864
28582865 @requires_graphics_hardware
2866+ @no_4gb ('fails to render' )
28592867 def test_webgl2_sokol_arraytex (self ):
28602868 self .btest ('third_party/sokol/arraytex-emsc.c' , args = ['-sMAX_WEBGL_VERSION=2' , '-lGL' ],
28612869 reference = 'third_party/sokol/arraytex-emsc.png' )
28622870
2863- def test_sdl_touch (self ):
2864- for opts in [[], ['-O2' , '-g1' , '--closure=1' ]]:
2865- print (opts )
2866- self .btest_exit ('test_sdl_touch.c' , args = opts + ['-DAUTOMATE_SUCCESS=1' , '-lSDL' , '-lGL' ])
2871+ @parameterized ({
2872+ '' : ([],),
2873+ 'closure' : (['-O2' , '-g1' , '--closure=1' ],),
2874+ })
2875+ def test_sdl_touch (self , opts ):
2876+ self .btest_exit ('test_sdl_touch.c' , args = opts + ['-DAUTOMATE_SUCCESS=1' , '-lSDL' , '-lGL' ])
28672877
28682878 def test_html5_mouse (self ):
28692879 for opts in [[], ['-O2' , '-g1' , '--closure=1' ]]:
@@ -4700,9 +4710,9 @@ def test_webgl_draw_base_vertex_base_instance(self):
47004710 '-DWEBGL_CONTEXT_VERSION=2' ])
47014711
47024712 @requires_graphics_hardware
4713+ @no_4gb ('fails to render' )
47034714 def test_webgl_sample_query (self ):
4704- cmd = ['-sMAX_WEBGL_VERSION=2' , '-lGL' ]
4705- self .btest_exit ('webgl_sample_query.cpp' , args = cmd )
4715+ self .btest_exit ('webgl_sample_query.cpp' , args = ['-sMAX_WEBGL_VERSION=2' , '-lGL' ])
47064716
47074717 @requires_graphics_hardware
47084718 @parameterized ({
@@ -4758,6 +4768,7 @@ def test_webgl_offscreen_framebuffer_state_restoration(self):
47584768
47594769 # Tests that using an array of structs in GL uniforms works.
47604770 @requires_graphics_hardware
4771+ @no_4gb ('fails to render' )
47614772 def test_webgl_array_of_structs_uniform (self ):
47624773 self .btest ('webgl_array_of_structs_uniform.c' , args = ['-lGL' , '-sMAX_WEBGL_VERSION=2' ], reference = 'browser/webgl_array_of_structs_uniform.png' )
47634774
0 commit comments