Closed Bug 1863188 Opened 2 years ago Closed 2 years ago

Categories

(Core :: Graphics: WebGPU, defect)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mayankleoboy1, Unassigned)

References

()

Details

enable webGPU
Go to https://electronut.in/webgpu/ch1_intro/hello_triangle/
AR: Nothing is drawn on the screen.

Error in console :
09:42:29.661
Encountered one or more errors while creating shader module "Hello Triangle shaders"
09:42:29.661
WebGPU compilation info for shader module "Hello Triangle shaders" (1 error(s), 0 warning(s), 0 info)
09:42:29.661

Shader 'Hello Triangle shaders' parsing error: expected ':', found '='
┌─ wgsl:11:18

11 │ var<private> pos = array<vec3f, 3>(
│ ^ expected ':'

09:42:29.661 Error matching ShaderStages(VERTEX) shader requirements against the pipeline, caused by: Shader module is invalid
09:42:29.662 In a set_pipeline command, caused by: Render pipeline Id { index: 0, epoch: 1, backend: Dx12 } is invalid
09:42:29.662 Command encoder is invalid

The severity field is not set for this bug.
:jimb, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jimb)

Link does not exist anymore. Closing.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(jimb)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.