-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I'm trying to run examples/webgpu.ts with the import changed to import { createWindowGPU, mainloop } from "jsr:@gfx/dwm/ext/webgpu"; but Deno keeps panicking.
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.
Platform: linux x86_64
Version: 2.1.5
Args: ["deno", "main.ts"]
thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.21.1/src/gles/egl.rs:301:14:
called `Result::unwrap()` on an `Err` value: BadAccess
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: wgpu_hal::gles::egl::EglContext::unmake_current
4: <wgpu_hal::gles::egl::Instance as wgpu_hal::Instance>::create_surface
5: wgpu_core::instance::<impl wgpu_core::global::Global>::instance_create_surface
6: deno_webgpu::byow::op_webgpu_surface_create::op_webgpu_surface_create::call
7: deno_webgpu::byow::op_webgpu_surface_create::op_webgpu_surface_create::slow_function_impl
8: deno_webgpu::byow::op_webgpu_surface_create::op_webgpu_surface_create::v8_fn_ptr
9: <unknown>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels