[webGPU] Demo at https://electronut.in/webgpu/ch1_intro/hello_triangle/ doesnt run
Categories
(Core :: Graphics: WebGPU, defect)
Tracking
()
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
Comment 1•2 years ago
|
||
The severity field is not set for this bug.
:jimb, could you have a look please?
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 2•2 years ago
|
||
Link does not exist anymore. Closing.
Description
•