Open Bug 1827117 (webgpu-thimbleberry) Opened 2 years ago Updated 1 year ago

Thimbleberry's WebGPU demo doesn't work yet

Categories

(Core :: Graphics: WebGPU, defect, P3)

Firefox 113
defect

Tracking

()

People

(Reporter: bugz, Unassigned)

References

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

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0

Steps to reproduce:

visit thimbleberry.dev

Actual results:

the demo app makes more progress after the fix for after 1825186 (thanks!), but still fails quickly because:

createTexture() returns undefined.

src here: https://github.com/mighdoll/thimbleberry/blob/main/src/shader-util/ImageToTexture.ts

Expected results:

(works on chrome)

The severity field is not set for this bug.
:jimb, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jimb)

mighdoll: AFAICT, createTexture is working, but I am running into bug 1830762 when visiting https://thimbleberry.dev/, where the GPUTexture.format attribute of the returned texture isn't being populated, i.e.:

Uncaught (in promise) TypeError: GPUDevice.createRenderPipeline: Missing required 'format' member of GPUColorTargetState.
    createMosaicPipeline MosaicPipeline.ts:86
    memoMemo MemoMemo.ts:44
    memoizeWithDevice CacheKeyWithDevice.ts:33
    get pipeline MosaicShader.ts:101

Is this what you were referring to, mighdoll?

Blocks: webgpu-v1
Severity: -- → S3
Depends on: 1830762
Flags: needinfo?(jimb)
Alias: webgpu-v1-thimbleberry
Assignee: nobody → egubler
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: egubler → nobody

This should be making more progress now, though in my latest testing, I still see these blockages in the JS console for the tab:

15:30:44.997 Invalid URI. Load of media resource  failed. thimbleberry.dev
15:30:45.828 In a draw command, indexed:false indirect:false, caused by: The pipeline layout, associated with the current render pipeline, contains a bind group layout at index 0 which is incompatible with the bind group layout associated with the bind group at 0
15:30:45.828 Command encoder is invalid 
Priority: -- → P3
Summary: thimbleberry WebGPU demo doesn't work yet on firefox: createTexture() → Thimbleberry's WebGPU demo doesn't work yet
Blocks: webgpu-apps
No longer blocks: webgpu-v1

The problem I found with comment 3 is blocked on bug 1611425.

Alias: webgpu-v1-thimbleberry → webgpu-thimbleberry
You need to log in before you can comment on or make changes to this bug.