Codepen webgpu demo (https://codepen.io/bclarke/pen/ZEmGoog ) doesnt work on Nightly
Categories
(Core :: Graphics: WebGPU, defect)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(2 files)
Go to https://codepen.io/bclarke/pen/ZEmGoog
ER: it renders
AR: nothing renders
Encountered one or more errors while creating shader module
14:27:31.802
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
14:27:31.802
Shader validation error:
┌─ :66:14
│
66 │ let zoom = max(0, (out_size - uv_l) / out_size) * smoothstep(out_size, size, uv_l);
│ ^^^ naga::Expression [69]
14:27:31.802 Error matching ShaderStages(VERTEX) shader requirements against the pipeline, caused by: Shader module is invalid
14:27:31.802 Pipeline is invalid
14:27:31.802 Bind group layout is invalid
14:27:31.804 In a set_pipeline command, caused by: Render pipeline Id(0,1,d3d12) is invalid
14:27:31.804 Command encoder is invalid
Updated•2 years ago
|
Comment 1•2 years ago
|
||
WebGPU is unreleased tech. Dropping Severity to S3 to remove from org tracking.
Updated•2 years ago
|
Comment 2•2 years ago
|
||
NI'ing for root cause investigation, no promises on ETA.
Updated•1 years ago
|
Comment 3•11 months ago
|
||
Looks like the shader being used by the page is blocked on bug 1829879; extracting the full shader and feeding it into Naga on latest WGPU trunk
yields the following error message:
error:
┌─ in.wgsl:65:14
│
65 │ let zoom = max(0, (out_size - uv_l) / out_size) * smoothstep(out_size, size, uv_l);
│ ^^^ naga::Expression [68]
Entry point fs_main at Fragment is invalid:
Expression [68] is invalid
Argument [1] to Max as expression [67] has an invalid type.
Updated•6 months ago
|
Comment 4•5 months ago
|
||
This bug mostly works for me now. However, the circular distortion that's supposed to follow the mouse has a different hue from what I see in Chrome. In Chrome, it's a dark purple, while in Firefox, it's a bright pink.
Comment 5•5 months ago
|
||
Comment 6•5 months ago
|
||
Description
•