Open aharondavid opened 2 years ago
Does the test itself run for you? ./tests/runner browser.test_webgl_offscreen_canvas_in_two_pthreads
?
If so, perhaps looks at the diffrences between how the test runs and what you are trying to do?
It looks like that test runs with -sOFFSCREEN_FRAMEBUFFER
and with -sOFFSCREENCANVAS_SUPPORT
but not with both at the same time. Do you know if you need both of them at the same time?
I didn't success to run the test by the runner tool (see below): How can I run it?
C:\emsdk\upstream\emscripten>.\tests\runner browser.test_webgl_offscreen_canvas_in_two_pthreads
posixtestsuite not found (run git submodule update --init?)
ERROR: could not find the following tests: browser.test_webgl_offscreen_canvas_in_two_pthreads
anyway, I think that error is an real error. is this test are run to you?
the same error is appeared in the gl_in_mainthread_after_pthread.cpp
test, and thus it disabled:
@disabled('This test is disabled because current OffscreenCanvas does not allow transfering it after a rendering context has been created for it.')
Oh it looks like that test is part of the interactive test suite so you would need to do ./tests/runner interactive.test_webgl_offscreen_canvas_in_two_pthreads
to run it.
I've never run that test myself and it could be that its stale because the interactive tests don't get run automatically. It looks like its failing at the moment but I'm not sure if that is related to the this issue or just that its an old test that hasn't passed in a long time for some other reason.
failed to execute the emsdk\upstream\emscripten\tests\gl_in_two_pthreads.cpp Test linking flags: -s PROXY_TO_PTHREAD -s OFFSCREENCANVAS_SUPPORT -s OFFSCREEN_FRAMEBUFFER -s WASM_WORKERS -profiling -g -s EXPORTED_RUNTIME_METHODS=ccall,cwrap -s EXPORTED_FUNCTIONS=_main,_NativeTestThreads --preload-file com.skyline.terraexplorer -s OFFSCREEN_FRAMEBUFFER=1 -s OFFSCREENCANVAS_SUPPORT=1 -s WASM_BIGINT -fexceptions -s WASM_BIGINT -s FETCH=1 --bind -fexceptions -s USE_PTHREADS -s PTHREAD_POOL_SIZE=5 -s ALLOW_MEMORY_GROWTH=1
OS: Windows 11 Browser: Chrome
console error:
Version of emscripten/emsdk: emcc version 3.1.9