Closed
Description
Description
A follow up issue for #3430. wgpu still breaks for me on web with a minimal example.
https://github.com/codeart1st/wgpu-wasm-dispatch/blob/main/tests/test.rs
wasm-pack test --chrome
panicked at 'assertion failed: data.is::<T>()', /home/plange/.cargo/git/checkouts/wgpu-53e70f8674b08dd4/25cb9f6/wgpu/src/context.rs:1045:5
Stack:
Error
at http://localhost:8000/wasm-bindgen-test:1122:21
at logError (http://localhost:8000/wasm-bindgen-test:219:18)
at imports.wbg.__wbg_new_abda76e883ba8a5f (http://localhost:8000/wasm-bindgen-test:1121:66)
at console_error_panic_hook::Error::new::h399b095a79993d2b (http://localhost:8000/wasm-bindgen-test_bg.wasm:wasm-function[3084]:0xc6a43)
at console_error_panic_hook::hook_impl::hf541d198901b9961 (http://localhost:8000/wasm-bindgen-test_bg.wasm:wasm-function[540]:0x6171e)
at console_error_panic_hook::hook::h0170f27b37365f4c (http://localhost:8000/wasm-bindgen-test_bg.wasm:wasm-function[3628]:0xce085)
at core::ops::function::Fn::call::hd11bd76c5db1ccde (http://localhost:8000/wasm-bindgen-test_bg.wasm:wasm-function[2857]:0xc3218)
at std::panicking::rust_panic_with_hook::h517db85e721544c2 (http://localhost:8000/wasm-bindgen-test_bg.wasm:wasm-function[1255]:0x9503e)
at std::panicking::begin_panic_handler::{{closure}}::hf5155502a5ae718c (http://localhost:8000/wasm-bindgen-test_bg.wasm:wasm-function[1568]:0xa39e9)
at std::sys_common::backtrace::__rust_end_short_backtrace::h17299e164873d32e (http://localhost:8000/wasm-bindgen-test_bg.wasm:wasm-function[3767]:0xcfc10)