Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPUDevice.lost is missing #28521

Open
hanakla opened this issue Mar 16, 2025 · 1 comment
Open

GPUDevice.lost is missing #28521

hanakla opened this issue Mar 16, 2025 · 1 comment
Labels
webgpu WebGPU API

Comments

@hanakla
Copy link

hanakla commented Mar 16, 2025

Version: Deno 2.2.4
System: macOS Sequoia 15.0 (Apple M2)

Hello, I have a problem with GPUDevice.lost in deno_webgpu.

There is a definition of lost getter in deno_webgpu and the lost property exists on the type definition, but GPUDevice.lost seems to be undefined.

Reproduction: run below script

const adapter = (await navigator.gpu.requestAdapter())!;
const device = await adapter.requestDevice();
console.log(device.lost);
$ deno -v
deno 2.2.4

$ deno run -A test.ts
lost: undefined
@crowlKats
Copy link
Member

@littledivy could you take a look?

@crowlKats crowlKats added the webgpu WebGPU API label Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
webgpu WebGPU API
Projects
None yet
Development

No branches or pull requests

2 participants