Open Bug 1925928 Opened 12 days ago Updated 11 days ago

[WebGPU] https://wifi-solver.com/ doesnt work on Nightly

Categories

(Core :: Graphics: WebGPU, defect)

defect

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

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

Details

Attachments

(1 file)

Originally highlighted by "scooper" on the matrix channel (Thanks!)

Error:

13:43:22.914 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015. (Reason: CORS request did not succeed). Status code: (null).

13:43:22.914 None of the “sha512” hashes in the integrity attribute match the content of the subresource. The computed hash is “z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==”. wifi-solver.com
13:43:22.938 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015. (Reason: CORS request did not succeed). Status code: (null).

13:43:22.938 None of the “sha512” hashes in the integrity attribute match the content of the subresource. The computed hash is “z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==”. wifi-solver.com
13:43:23.641 Uncaptured WebGPU error: Shader module creation failed: Shader validation error
13:43:23.641
Encountered one or more errors while creating shader module "Update eps shader"
13:43:23.641
WebGPU compilation info for shader module "Update eps shader" (1 error(s), 0 warning(s), 0 info)
13:43:23.641

Shader validation error:
┌─ Update eps shader:67:1

67 │ ╭ fn sdfRect(samplePosition: vec2f, halfSize: vec2f) -> f32 {
68 │ │ let componentWiseEdgeDistance = abs(samplePosition) - halfSize;
69 │ │ let outsideDistance = length(max(componentWiseEdgeDistance, vec2f(0)));
70 │ │ let insideDistance = min(max(componentWiseEdgeDistance.x, componentWiseEdgeDistance.y), 0);
│ │ ^^^ naga::Expression [12]
71 │ │ return outsideDistance + insideDistance;
│ ╰────────────────────────────────────────────^ naga::Function [2]

13:43:23.641 Uncaptured WebGPU error: ShaderModule with 'Update eps shader' label is invalid
13:43:23.641
Encountered one or more errors while creating shader module "Update image eps shader"
13:43:23.641
WebGPU compilation info for shader module "Update image eps shader" (1 error(s), 0 warning(s), 0 info)
13:43:23.641

Shader validation error:
┌─ Update image eps shader:63:1

63 │ ╭ fn sdfRect(samplePosition: vec2f, halfSize: vec2f) -> f32 {
64 │ │ let componentWiseEdgeDistance = abs(samplePosition) - halfSize;
65 │ │ let outsideDistance = length(max(componentWiseEdgeDistance, vec2f(0)));
66 │ │ let insideDistance = min(max(componentWiseEdgeDistance.x, componentWiseEdgeDistance.y), 0);
│ │ ^^^ naga::Expression [12]
67 │ │ return outsideDistance + insideDistance;
│ ╰────────────────────────────────────────────^ naga::Function [1]

13:43:23.641 Uncaptured WebGPU error: ShaderModule with 'Update image eps shader' label is invalid
13:43:23.642
Encountered one or more errors while creating shader module "Simulate shader"
13:43:23.642
WebGPU compilation info for shader module "Simulate shader" (1 error(s), 0 warning(s), 0 info)
13:43:23.642

Shader validation error:
┌─ Simulate shader:62:1

62 │ ╭ fn getIntensity(grid: vec2u, aspect: f32) -> f32 {
63 │ │ var I: f32 = 0;
64 │ │
65 │ │ let pos = vec2f(
· │
77 │ │ I += uniforms.sources[i].strength * (1 - smoothstep(0, sig, r));
│ │ ^^^^^^^^^^ naga::Expression [58]
78 │ │ }
79 │ │
80 │ │ return I * uniforms.sinPhase;
│ ╰───────────────────────────────^ naga::Function [2]

13:43:23.642 Uncaptured WebGPU error: ShaderModule with 'Simulate shader' label is invalid
13:43:23.659
Encountered one or more errors while creating shader module
13:43:23.659
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
13:43:23.660
Encountered one or more errors while creating shader module
13:43:23.660
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
13:43:23.660 Uncaptured WebGPU error: Error matching ShaderStages(VERTEX) shader requirements against the pipeline, caused by: ShaderModule with '' label is invalid
13:43:23.664 Uncaptured WebGPU error: In a set_pipeline command, caused by: ComputePipeline with 'Update eps pipeline' label is invalid
13:43:23.664 Uncaptured WebGPU error: Command encoder is locked by a previously created render/compute pass. Before recording any new commands, the pass must be ended.
13:43:23.664 Uncaptured WebGPU error: Command encoder is invalid
13:43:23.664 Uncaptured WebGPU error: In a set_pipeline command, caused by: ComputePipeline with 'Simulate pipeline' label is invalid
13:43:23.665 Uncaptured WebGPU error: In a set_pipeline command, caused by: RenderPipeline with 'Render pipeline 3D' label is invalid
13:43:24.945 injected firefox content.js:142:11

Attached file about:support
Severity: -- → S3
Summary: [WebGPU} https://wifi-solver.com/ doesnt work on Nightly → [WebGPU] https://wifi-solver.com/ doesnt work on Nightly

This is blocked on bug 1829879.

Blocks: webgpu-apps
Depends on: 1829879
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: