[WebGPU] https://swgpu.github.io/ doesnt work on Nightly
Categories
(Core :: Graphics: WebGPU, defect)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
Go to https://swgpu.github.io/
Click on the box
Clcik on "Utils"
Seelct any option.
AR: Nothing draws on the screen.
Error:
14:11:47.932 Uncaptured WebGPU error: Shader module creation failed: Shader validation error
14:11:47.932
Encountered one or more errors while creating shader module
14:11:47.933
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
14:11:47.933
Shader validation error: Entry point main at Vertex is invalid
┌─ :13:3
│
13 │ output.Position.z = 1;
│ ^^^^^^^^^^^^^^^^^ ^ naga::Expression [5]
│ │
│ naga::Expression [4]
│
= The type of [5] doesn't match the type stored in [4]
14:11:47.933 Uncaptured WebGPU error: Error matching ShaderStages(VERTEX) shader requirements against the pipeline, caused by: ShaderModule with '' label is invalid
14:11:47.933 Uncaptured WebGPU error: RenderPipeline with 'Skybox pipeline' label is invalid
14:11:47.933 Uncaptured WebGPU error: BindGroupLayout with '' label is invalid
14:11:47.933 Uncaptured WebGPU error: Shader module creation failed: Parsing error
14:11:47.933
Encountered one or more errors while creating shader module
14:11:47.933
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
14:11:47.933
Shader '' parsing error: no definition in scope for identifier: 'textureSampleBaseClampToEdge'
┌─ wgsl:191:10
│
191 │ return textureSampleBaseClampToEdge(IDS_TEXTURE, IDS_SAMPLER, textureUV + ps * offset);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unknown identifier
14:11:47.933 Uncaptured WebGPU error: Error matching ShaderStages(FRAGMENT) shader requirements against the pipeline, caused by: ShaderModule with '' label is invalid
14:11:47.933 Uncaptured WebGPU error: RenderPipeline with 'POST pipeline' label is invalid
14:11:48.076 Uncaptured WebGPU error: In a set_pipeline command, caused by: RenderPipeline with 'POST pipeline' label is invalid
14:11:48.076 Uncaptured WebGPU error: Command encoder is locked by a previously created render/compute pass. Before recording any new commands, the pass must be ended.
Updated•10 months ago
|
Comment 1•7 months ago
|
||
The type conversion issue seems to be fixed, but there is still an issue with textureSampleBaseClampToEdge
not being implemented.
Comment 2•6 months ago
|
||
textureSampleBaseClampToEdge
needs to be implemented, and is represented with bug 1960466.
Description
•