WebGPU TypeError: can't access property "maxVertexBufferArrayStride", e.limits is undefined
Categories
(Core :: Graphics: WebGPU, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox97 | --- | affected |
People
(Reporter: u673061, Assigned: kvark)
References
Details
The Babylon JS example (https://playground.babylonjs.com) which involves WebGPU doesn't work
The console shows the following errors repeated two times:
BJS - [22:09:22]: Can not create WebGPU Device and/or context. babylon.js:16:20667
BJS - [22:09:22]: TypeError: can't access property "maxVertexBufferArrayStride", e.limits is undefined babylon.js:16:20667
Uncaught TypeError: can't access property "configure", this._context is undefined
_configureContext https://preview.babylonjs.com/babylon.js:16
setSize https://preview.babylonjs.com/babylon.js:16
resize https://preview.babylonjs.com/babylon.js:16
resize https://preview.babylonjs.com/babylon.js:16
_compileAndRunAsync https://playground.babylonjs.com/dist/babylon.playground.js:16
_renderFrame https://preview.babylonjs.com/babylon.js:16
_renderLoop https://preview.babylonjs.com/babylon.js:16
babylon.js:16:1819187
_configureContext https://preview.babylonjs.com/babylon.js:16
setSize https://preview.babylonjs.com/babylon.js:16
resize https://preview.babylonjs.com/babylon.js:16
resize https://preview.babylonjs.com/babylon.js:16
_compileAndRunAsync https://playground.babylonjs.com/dist/babylon.playground.js:16
_renderFrame https://preview.babylonjs.com/babylon.js:16
_renderLoop https://preview.babylonjs.com/babylon.js:16
<anonymous> self-hosted:1178
Maybe it is M1 Mac only? I don't own an intel mac to test.
Assignee | ||
Comment 1•3 years ago
|
||
Thanks for filing!
I was working on this today, it's resolved by https://phabricator.services.mozilla.com/D133280 (which is close to be done).
Comment 2•2 years ago
|
||
I tested the example and did not get any console warnings. Please reopen if the issue persists with an updated STR / console output.
Description
•