Closed Bug 1921416 Opened 1 year ago Closed 7 months ago

Diffusion Studio demo https://examples.diffusion.studio/ doesnt draw anything on Nightly

Categories

(Core :: Graphics: WebGPU, defect)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: mayankleoboy1, Unassigned)

References

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

Details

Attachments

(2 files)

Go to https://examples.diffusion.studio/

AR: Nothing draws on the screen
See errors in the attachment.

Attached file about:support

EDIT: Fired off my draft too early, sorry! 😅

Blocks: webgpu-apps
Severity: -- → S3

Notable console entries I see when I run the page myself:

  • It looks like Firefox doesn't accept the sources that the application is trying to use:

    Uncaught TypeError: GPUQueue.copyExternalImageToTexture: 'source' member of GPUImageCopyExternalImage could not be converted to any of: ImageBitmap, HTMLCanvasElement, OffscreenCanvas.
    

    In this case, it's trying to use a <video>/HTMLVideoElement. This is bug 1921454.

  • A WGSL shader parse error that I'm confident is bug 1829879:

    Shader '' parsing error: invalid switch value
       ┌─ wgsl:60:8
       │
    60 │   case 0:{
       │        ^ expected unsigned integer
       │
       = note: suffix the integer with a `u`: '0u'
    

Bug 1921454 has become a meta bug. This should now depend on bug 1922098, which is narrower in the scope of GPUImageCopyExternalImageSource functionality we need to add to unblock this specific case.

Depends on: 1922098
No longer depends on: 1921454
Depends on: 1955085
No longer depends on: webgpu-type-conversion

This seems to work now!

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

Attachment

General

Creator:
Created:
Updated:
Size: