[webGPU] Demo at https://math.hws.edu/graphicsbook/demos/c9/diffusion-demo.html does not draw anything on Nightly
Categories
(Core :: Graphics: WebGPU, defect, P3)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
(Depends on 1 open bug, Blocks 2 open bugs, )
Details
enable webgpu
Go to https://math.hws.edu/graphicsbook/demos/c9/
Open any demo
AR: Demo does not run
Updated•1 year ago
|
Comment 1•1 year ago
|
||
Looks like most of the errors are related to abstract types.
Reporter | ||
Comment 2•1 year ago
•
|
||
FWIW, as of today, across all the "chapter" on the FTP site, only this demo doesnt run:
https://math.hws.edu/graphicsbook/demos/c9/diffusion-demo.html
16:55:22.151
Encountered one or more errors while creating shader module
16:55:22.151
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
16:55:22.151
Shader validation error:
┌─ :18:16
│
18 │ return colors[colorIndex];
│ ^^^^^^^^^^^^^^^^^^ naga::Expression [13]
Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Reporter | ||
Comment 3•5 months ago
|
||
10:04:41.057 injected firefox content.js:142:11
10:04:41.682
Encountered one or more errors while creating shader module
10:04:41.682
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
10:04:41.682
Shader validation error:
┌─ :18:16
│
18 │ return colors[colorIndex];
│ ^^^^^^^^^^^^^^^^^^ naga::Expression [12]
Reporter | ||
Comment 4•4 months ago
•
|
||
Profile with webgpu preset logging: https://share.firefox.dev/3ZsOSAJ
Error in webdev console:
18:23:52.132 injected firefox content.js:142:11
18:23:52.196
Encountered one or more errors while creating shader module
18:23:52.196
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
18:23:52.196
Shader '' parsing error: invalid switch value
┌─ wgsl:40:18
│
40 │ case 0 {
│ ^ expected unsigned integer
│
= note: suffix the integer with a `u`: '0u'
Updated•17 minutes ago
|
Description
•