Closed Bug 1696336 Opened 4 years ago Closed 4 years ago

TypeError: GPUDevice.createBindGroupLayout: Missing required 'entries' member of GPUBindGroupLayoutDescriptor

Categories

(Core :: Graphics: WebGPU, defect)

Unspecified
macOS
defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox88 --- affected

People

(Reporter: cpeterson, Unassigned)

References

()

Details

Steps to reproduce

  1. Enable WebGPU in about:preferences#experimental.
  2. Load this WebGPU demo https://jott.live/html/webgpu_demo.html (as described by blog post https://jott.live/markdown/m1_webgpu_perf).

Expected result

In Safari, the demo loads and reports about 45 Gflops on my MacBook Pro.

Actual result

In Firefox, the demo stops and logs an error to the web console:

Uncaught (in promise) TypeError: GPUDevice.createBindGroupLayout: Missing required 'entries' member of GPUBindGroupLayoutDescriptor.

Hacker News comments say Chrome throws the same error and that this problem is "Safari's WSL API, which doesn't work on the other browsers. There's a bit of a debate about the API (Spir-V vs WSL/WHSL)":

https://news.ycombinator.com/item?id=26334520

Should this bug be resolved as invalid?

Correct. Safari hasn't updated its WebGPU implementation in a year, we don't expect it to be compatible at this point. Hopefully, they'll catch up.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.