[WebGPU] Demo on https://kubohiroya.github.io/webgpu-react-bitmap-viewport/examples/#1 do not work in Nightly
Categories
(Core :: Graphics: WebGPU, defect)
Tracking
()
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
Updated•1 year ago
|
Updated•11 months ago
|
Description
•