Open Bug 1938671 Opened 3 months ago Updated 10 days ago

WebGPU Sponza Demo does not run

Categories

(Core :: Graphics: WebGPU, defect)

defect

Tracking

()

People

(Reporter: ErichDonGubler, Unassigned)

References

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

Details

Steps to reproduce

  1. Open the page. Observe that the page loads some controls, but otherwise only renders a black screen.

I opened a PR to track the code I wrote to triage and uncover the issues I wrote earlier: gnikoloff/webgpu-sponza-demo#24

Nice analysis!

I think permitting ptr.member was a later addition to the spec. At one point it was not allowed.

I thin relevant CTS test is here: https://github.com/gpuweb/cts/blob/9873a0fcea54ecb223e1312486dea37618eb5841/src/webgpu/shader/execution/expression/unary/address_of_and_indirection.spec.ts#L121, but it gets skipped because there is no pointer_composite_access wgsl extension in firefox/wgpu. See relevant change in spec: https://github.com/gpuweb/gpuweb/pull/4311.

Depends on: 1938932

:samson: Just added tracking for the pointer_composite_access language extension via bug 1938932.

:jimb: I've updated comment 1 to have the full set of shader validation errors emitted to console for item (1). Hope it helps!

Duplicate of this bug: 1951223

@must_use is now usable, now that bug 1878314 has been resolved.

You need to log in before you can comment on or make changes to this bug.