Closed Bug 1939979 Opened 8 months ago Closed 6 months ago

[WebGPU] https://sha256.modez.pro/ does not work in Nightly

Categories

(Core :: Graphics: WebGPU, defect)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug, )

Details

Go to https://sha256.modez.pro/
Copy the following text : " WebGPU SHA-256 DEMO "
Click "Hashusing webgpu"

Error:
10:06:09.242 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.
sha256.modez.pro
10:06:09.451 injected firefox content.js:142:11
10:06:17.944 Uncaptured WebGPU error: Shader module creation failed: Parsing error
10:06:17.944
Encountered one or more errors while creating shader module
10:06:17.944
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
10:06:17.944 Uncaptured WebGPU error: ShaderModule with '' label is invalid
10:06:17.944 Uncaptured WebGPU error: In a set_pipeline command, caused by: ComputePipeline with '' label is invalid
10:06:17.945 Uncaptured WebGPU error: Command encoder is locked by a previously created render/compute pass. Before recording any new commands, the pass must be ended.
10:06:17.945 Uncaptured WebGPU error: Command encoder is invalid
10:06:17.945 Uncaptured WebGPU error: CommandBuffer with '' label is invalid
10:07:23.628 Uncaptured WebGPU error: Shader module creation failed: Parsing error
10:07:23.628
Encountered one or more errors while creating shader module
10:07:23.628
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
10:07:23.628 Uncaptured WebGPU error: ShaderModule with '' label is invalid
10:07:23.628 Uncaptured WebGPU error: In a set_pipeline command, caused by: ComputePipeline with '' label is invalid
10:07:23.628 Uncaptured WebGPU error: Command encoder is locked by a previously created render/compute pass. Before recording any new commands, the pass must be ended.
10:07:23.628 Uncaptured WebGPU error: Command encoder is invalid
10:07:23.628 Uncaptured WebGPU error: CommandBuffer with '' label is invalid
10:07:42.587 Uncaptured WebGPU error: Shader module creation failed: Parsing error
10:07:42.587
Encountered one or more errors while creating shader module
10:07:42.587
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
10:07:42.587 Uncaptured WebGPU error: ShaderModule with '' label is invalid
10:07:42.587 Uncaptured WebGPU error: In a set_pipeline command, caused by: ComputePipeline with '' label is invalid
10:07:42.588 Uncaptured WebGPU error: Command encoder is locked by a previously created render/compute pass. Before recording any new commands, the pass must be ended.
10:07:42.588 Uncaptured WebGPU error: Command encoder is invalid
10:07:42.588 Uncaptured WebGPU error: CommandBuffer with '' label is invalid
10:07:43.551 Uncaptured WebGPU error: Shader module creation failed: Parsing error
10:07:43.551
Encountered one or more errors while creating shader module
10:07:43.551
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
10:07:43.551 Uncaptured WebGPU error: ShaderModule with '' label is invalid
10:07:43.551 Uncaptured WebGPU error: In a set_pipeline command, caused by: ComputePipeline with '' label is invalid
10:07:43.552 Uncaptured WebGPU error: Command encoder is locked by a previously created render/compute pass. Before recording any new commands, the pass must be ended.
10:07:43.552 Uncaptured WebGPU error: Command encoder is invalid
10:07:43.552 Uncaptured WebGPU error: CommandBuffer with '' label is invalid
10:07:43.739 Uncaptured WebGPU error: Shader module creation failed: Parsing error
10:07:43.739
Encountered one or more errors while creating shader module
10:07:43.739
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
10:07:43.739

Shader '' parsing error: failed to convert expression to a concrete type: the concrete type i32 cannot represent the abstract value 3144134277 accurately
┌─ wgsl:183:20

183 │ ctx.state[1] = 0xbb67ae85;
│ ^^^^^^^^^^ this expression has type {AbstractInt}

= note: the expression should have been converted to have i32 scalar type

10:07:43.739 Uncaptured WebGPU error: ShaderModule with '' label is invalid
10:07:43.739 Uncaptured WebGPU error: In a set_pipeline command, caused by: ComputePipeline with '' label is invalid
10:07:43.740 Uncaptured WebGPU error: Command encoder is locked by a previously created render/compute pass. Before recording any new commands, the pass must be ended.
10:07:43.740 Uncaptured WebGPU error: Command encoder is invalid
10:07:43.740 Uncaptured WebGPU error: CommandBuffer with '' label is invalid
10:07:43.940 Uncaptured WebGPU error: Shader module creation failed: Parsing error
10:07:43.940
Encountered one or more errors while creating shader module
10:07:43.941
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
10:07:43.941

Shader '' parsing error: failed to convert expression to a concrete type: the concrete type i32 cannot represent the abstract value 3144134277 accurately
┌─ wgsl:183:20

183 │ ctx.state[1] = 0xbb67ae85;
│ ^^^^^^^^^^ this expression has type {AbstractInt}

= note: the expression should have been converted to have i32 scalar type

10:07:43.941 Uncaptured WebGPU error: ShaderModule with '' label is invalid
10:07:43.941 Uncaptured WebGPU error: In a set_pipeline command, caused by: ComputePipeline with '' label is invalid
10:07:43.941 Uncaptured WebGPU error: Command encoder is locked by a previously created render/compute pass. Before recording any new commands, the pass must be ended.
10:07:43.941 Uncaptured WebGPU error: Command encoder is invalid
10:07:43.941 Uncaptured WebGPU error: CommandBuffer with '' label is invalid

Blocks: webgpu-apps
Severity: -- → S3

This is working for me on Mac M1.

Works for me as well on Windows 11 with Nightly 138.

Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.