Closed Bug 1939442 Opened 1 year ago Closed 11 months ago

Categories

(Core :: Graphics: WebGPU, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1927127

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug, )

Details

Go to https://kubohiroya.github.io/webgpu-react-bitmap-viewport/examples/#1

Error:

12:21:19.376 Uncaptured WebGPU error: Shader module creation failed: Parsing error
12:21:19.376
Encountered one or more errors while creating shader module "Grid shader"
12:21:19.376
WebGPU compilation info for shader module "Grid shader" (1 error(s), 0 warning(s), 0 info)
12:21:19.376

Shader 'Grid shader' parsing error: invalid switch value
┌─ wgsl:172:10

172 │ case 0: {
│ ^ expected unsigned integer

= note: suffix the integer with a u: '0u'

12:21:19.376 Uncaptured WebGPU error: Error matching ShaderStages(VERTEX) shader requirements against the pipeline, caused by: ShaderModule with 'Grid shader' label is invalid
12:21:19.378 Uncaptured WebGPU error: In a set_pipeline command, caused by: RenderPipeline with 'columnFocusSelect' label is invalid
12:21:19.378 Uncaptured WebGPU error: In a set_pipeline command, caused by: RenderPipeline with 'rowFocusSelect' label is invalid
12:21:19.378 Uncaptured WebGPU error: In a set_pipeline command, caused by: RenderPipeline with 'body' label is invalid
12:21:19.378 Uncaptured WebGPU error: In a set_pipeline command, caused by: RenderPipeline with 'viewportShadow' label is invalid
12:21:19.378 Uncaptured WebGPU error: In a set_pipeline command, caused by: RenderPipeline with 'headerBackground' label is invalid
12:21:19.378 Uncaptured WebGPU error: In a set_pipeline command, caused by: RenderPipeline with 'topHeader' label is invalid
12:21:19.378 Uncaptured WebGPU error: In a set_pipeline command, caused by: RenderPipeline with 'leftHeader' label is invalid
12:21:19.378 Uncaptured WebGPU error: In a set_pipeline command, caused by: RenderPipeline with 'scrollBarBody' label is invalid
12:21:19.378 Uncaptured WebGPU error: In a set_pipeline command, caused by: RenderPipeline with 'scrollBarBackground' label is invalid
12:21:19.379 Uncaptured WebGPU error: In a execute_bundle command, caused by: RenderBundle with '' label is invalid
12:21:19.379 Uncaptured WebGPU error: Command encoder is locked by a previously created render/compute pass. Before recording any new commands, the pass must be ended.
12:21:19.379 Uncaptured WebGPU error: CommandBuffer with '' label is invalid

Blocks: webgpu-apps
Severity: -- → S3
Status: NEW → RESOLVED
Closed: 11 months ago
Duplicate of bug: 1927127
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.