WebGPU demo (https://gnikoloff.github.io/webgpu-raytracer/ ) doesnt draw anything in Nightly
Categories
(Core :: Graphics: WebGPU, defect, P3)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
|
42.99 KB,
text/plain
|
Details |
Go to https://gnikoloff.github.io/webgpu-raytracer/
AR: Nothing is drawn on the screen.
ER: It should
Chrome can run this demo
| Reporter | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 2•1 year ago
|
||
Looks like this is currently blocked on shaders not compiling due to the usage of the standard @must_use function attribute, which we don't support yet (😅). Filed bug 1878314 to represent this.
Comment 3•1 year ago
|
||
WebGPU is unreleased tech. Dropping Severity to S3 to remove from org tracking.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 4•8 months ago
|
||
Looks like this issue has moved on from bug 1878314, and is now firmly blocked on bug 1829879:
Uncaptured WebGPU error: Shader module creation failed: Parsing error
Encountered one or more errors while creating shader module
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
Shader '' parsing error: automatic conversions cannot convert elements of `i32` to `f32`
┌─ wgsl:28:5
│
28 │ (*camera).imageHeight = select((*camera).imageHeight, 1, (*camera).imageHeight < 1);
│ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ this expression has type i32
│ │
│ a value with elements of type f32 is required here
Uncaptured WebGPU error: Error matching ShaderStages(VERTEX) shader requirements against the pipeline, caused by: ShaderModule with '' label is invalid
Encountered one or more errors while creating shader module
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
Shader '' parsing error: automatic conversions cannot convert elements of `i32` to `f32`
┌─ wgsl:358:5
│
358 │ (*camera).imageHeight = select((*camera).imageHeight, 1, (*camera).imageHeight < 1);
│ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ this expression has type i32
│ │
│ a value with elements of type f32 is required here
Uncaptured WebGPU error: ShaderModule with '' label is invalid
Uncaptured WebGPU error: RenderPipeline with '' label is invalid
Uncaptured WebGPU error: BindGroupLayout with '' label is invalid
Uncaptured WebGPU error: ComputePipeline with '' label is invalid
Uncaptured WebGPU error: In a set_pipeline command, caused by: ComputePipeline with '' label is invalid
Uncaptured WebGPU error: Command encoder is locked by a previously created render/compute pass. Before recording any new commands, the pass must be ended.
Uncaptured WebGPU error: Command encoder is invalid
Uncaptured WebGPU error: CommandBuffer with '' label is invalid
Comment 5•8 months ago
|
||
Function database; select
Comment 6•7 months ago
|
||
As Andy hinted at, correct type conversion for select is (now the only!) part of the remaining scope for blockers in WebGPU for this page. wgpu#6443/bug 1829879 didn't resolve this, but some follow-up work at bug 1960453 will.
Updated•7 months ago
|
Comment 7•4 months ago
|
||
WFM now, with dependencies satisfied! Woot!
Description
•