WebGPU demo (https://yuu6883.github.io////WebGPUDemo/?cloth ) doesnt run in Nightly
Categories
(Core :: Graphics: WebGPU, defect, P3)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
+++ This bug was initially created as a clone of Bug #1852491 +++
enable webgpu
go to https://yuu6883.github.io////WebGPUDemo/?cloth
ER: demo should run.
AR: demo doesnt run. Chrome is able to run the demo
13:46:47.535
GPUSupportedLimits { maxTextureDimension1D: 8192, maxTextureDimension2D: 8192, maxTextureDimension3D: 2048, maxTextureArrayLayers: 256, maxBindGroups: 4, maxBindGroupsPlusVertexBuffers: 12, maxBindingsPerBindGroup: 1000, maxDynamicUniformBuffersPerPipelineLayout: 8, maxDynamicStorageBuffersPerPipelineLayout: 4, maxSampledTexturesPerShaderStage: 16 }
index.js:2:250375
13:46:47.566
Encountered one or more errors while creating shader module
13:46:47.567
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
13:46:47.567 Error matching shader requirements against the pipeline, caused by: Shader module is invalid
13:46:47.567 Bind group layout is invalid
13:46:47.570 Total cloth triangles: 7938 index.js:2:193807
13:46:47.571
GPUSupportedLimits { maxTextureDimension1D: 8192, maxTextureDimension2D: 8192, maxTextureDimension3D: 2048, maxTextureArrayLayers: 256, maxBindGroups: 4, maxBindGroupsPlusVertexBuffers: 12, maxBindingsPerBindGroup: 1000, maxDynamicUniformBuffersPerPipelineLayout: 8, maxDynamicStorageBuffersPerPipelineLayout: 4, maxSampledTexturesPerShaderStage: 16 }
index.js:2:252055
13:46:47.582 In a set_pipeline command, caused by: Compute pipeline (19, 1, Vulkan) is invalid
13:46:47.582 Command encoder is invalid
13:46:47.582 In a set_pipeline command, caused by: Compute pipeline (18, 1, Vulkan) is invalid
13:46:47.582 In a pass parameter, caused by: Command encoder is invalid
Comment 1•1 year ago
|
||
We don't yet support passing const
s to attributes. Will be fixed by 1822096.
Updated•9 months ago
|
Comment 2•7 months ago
•
|
||
The page in question's execution in Firefox appears to have rough parity with Chrome now, minus a long compilation period caused by webgpu-fxc
.
Updated•4 months ago
|
Comment 3•4 months ago
|
||
This now WFM. mayankleoboy01, can you confirm that this issue is resolved for you?
Reporter | ||
Comment 4•4 months ago
|
||
I dont get any errors/warnings in the console now.
That said, the demo still doesnt draw anything on the screen (bug 1885217), so I cant say if it "works" for me.
However, if you are able to get the demo to work on a non-windows OS, I am happy to close this bug.
Comment 5•4 months ago
|
||
I'm able to confirm MacOS and Windows working (with enough waiting in the latter case). I think we're good to go here. 👍🏻
Comment 6•4 months ago
|
||
This runs a lot slower in FF than Chrome. I filed bug 1913426
Description
•