@@ -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,22 +2844,26 @@ 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 ('' )
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 ('' )
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 ('' )
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' )
@@ -4700,9 +4708,9 @@ def test_webgl_draw_base_vertex_base_instance(self):
47004708 '-DWEBGL_CONTEXT_VERSION=2' ])
47014709
47024710 @requires_graphics_hardware
4711+ @no_4gb ('' )
47034712 def test_webgl_sample_query (self ):
4704- cmd = ['-sMAX_WEBGL_VERSION=2' , '-lGL' ]
4705- self .btest_exit ('webgl_sample_query.cpp' , args = cmd )
4713+ self .btest_exit ('webgl_sample_query.cpp' , args = ['-sMAX_WEBGL_VERSION=2' , '-lGL' ])
47064714
47074715 @requires_graphics_hardware
47084716 @parameterized ({
@@ -4758,6 +4766,7 @@ def test_webgl_offscreen_framebuffer_state_restoration(self):
47584766
47594767 # Tests that using an array of structs in GL uniforms works.
47604768 @requires_graphics_hardware
4769+ @no_4gb ('fails to render' )
47614770 def test_webgl_array_of_structs_uniform (self ):
47624771 self .btest ('webgl_array_of_structs_uniform.c' , args = ['-lGL' , '-sMAX_WEBGL_VERSION=2' ], reference = 'browser/webgl_array_of_structs_uniform.png' )
47634772
0 commit comments