Open Bug 1916072 Opened 2 months ago Updated 2 months ago

ThreeJS' examples' WebGPU backend don't work

Categories

(Core :: Graphics: WebGPU, defect)

defect

Tracking

()

People

(Reporter: ErichDonGubler, Unassigned)

References

(Depends on 3 open bugs, Blocks 1 open bug, )

Details

No description provided.

Blockers I observed:

  • The vast majority of examples are blocked by failing to parse diagnostic directives (bug 1882800).
  • Many examples emitted errors because the GPUDevice.createQuerySet API is not yet exposed (bug 1838729). Many of these crashed after these errors were emitted many times over a few seconds. 😬
  • Automatic type conversion (bug 1829879)
  • compute / particles / snow / external seems to fail on a CORS error. 😳 Not sure if that's a bug on our end yet.
  • compute / texture / pingpong has some issues with a writeTex: texture_storage_2d<rgba16float, write> argument, not sure why yet.
  • Many examples emitted errors with GPUQueue.copyExternalImageToTexture: 'source' member of GPUImageCopyExternalImage could not be converted to any of: ImageBitmap, HTMLCanvasElement, OffscreenCanvas..
  • loader / gltf / compressed and many others emitted this error: GPUDevice.createTexture: 'etc2-rgb8unorm-srgb' (value of 'format' member of GPUTextureDescriptor) is not a valid value for enumeration GPUTextureFormat.

Ah, the texture_storage_2d<…, write> error must be that our implementation of WGSL doesn't yet support the readonly_and_readwrite_storage_textures extension. Filed bug 1916464 to track this.

Depends on: 1916464
See Also: → 1914934
You need to log in before you can comment on or make changes to this bug.