Closed
Bug 1916071
Opened 1 year ago
Closed 7 months ago
WebGPU: Electronic Arts' PB-MPM page fails to run
Categories
(Core :: Graphics: WebGPU, defect)
Core
Graphics: WebGPU
Tracking
()
RESOLVED
FIXED
People
(Reporter: ErichDonGubler, Unassigned)
References
(Blocks 1 open bug, )
Details
Saw this page floating around in the WebGPU community in Matrix, and wanted to make sure it worked in Firefox, too.
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
Comment 3•10 months ago
|
||
Currently, I see type conversion issues with atomicAdd and select.
See Also: → https://github.com/gfx-rs/wgpu/issues/6443
Comment 4•9 months ago
|
||
Even though https://github.com/gfx-rs/wgpu/issues/6443 is resolved, this still has the atomicAdd and select issues that Andy pointed out.
e.g.:
Shader validation error: Function [19] 'collide' is invalid
┌─ g2p2g:317:1
│
317 │ ╭ fn collide(shape: SimShape, pos: vec2f) -> CollideResult
318 │ │ {
319 │ │ if(shape.shapeType == ShapeTypeCircle)
320 │ │ {
· │
323 │ │ let normal = offset * select(1.0/offsetLen, 0, offsetLen == 0);
│ │ ^^^^^^ naga::ir::Expression [13]
· │
352 │ │ {
353 │ │ return CollideResult(false, 0.0, vec2f(0,0), vec2f(0,0));
│ ╰─────────────────────────────────────────────────────────────────^ naga::ir::Function [19]
│
= Expression [13] is invalid
= Expected selection argument types to match, but reject value of type Scalar(Scalar { kind: Float, width: 4 }) does not match accept value of value Scalar(Scalar { kind: Sint, width: 4 })
| Reporter | ||
Comment 5•9 months ago
|
||
atomicAdd is bug 1960093, select is bug 1960453.
| Reporter | ||
Comment 6•9 months ago
|
||
I can confirm that atomicAdd shader compilation errors are no longer coming up. 😤Now we're just awaiting the resolution to bug 1960453.
| Reporter | ||
Comment 7•7 months ago
|
||
WFM now, with dependencies satisfied! Woot!
...except I noticed a crash I get occasionally that doesn't seem specific to this page; filed bug 1973591 to follow up with this.
You need to log in
before you can comment on or make changes to this bug.
Description
•