WebGPU demo (https://web-gpu-particles.vercel.app/ ) doesnt draw anything on the screen
Categories
(Core :: Graphics: WebGPU, defect, P3)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
|
43.27 KB,
text/plain
|
Details |
Go to https://web-gpu-particles.vercel.app/
AR: Nothing is drawn on the screen. Chrome does render.
20:20:52.344
Encountered one or more errors while creating shader module "render shader module"
20:20:52.344
WebGPU compilation info for shader module "render shader module" (1 error(s), 0 warning(s), 0 info)
20:20:52.344
Shader validation error:
┌─ render shader module:41:38
│
41 │ var ratio_velocity = min(velocity, 10);
│ ^^^ naga::Expression [11]
20:20:52.344
Encountered one or more errors while creating shader module "compute shader module"
20:20:52.344
WebGPU compilation info for shader module "compute shader module" (1 error(s), 0 warning(s), 0 info)
20:20:52.344
Shader validation error:
┌─ compute shader module:36:73
│
36 │ particles2[id_f].z += d_norm.x / ((1 / uni.power) * max(length, 4));
│ ^^^ naga::Expression [56]
20:20:52.344 Error matching ShaderStages(VERTEX) shader requirements against the pipeline, caused by: Shader module is invalid
20:20:52.344 Error matching shader requirements against the pipeline, caused by: Shader module is invalid
20:20:52.344 Uncaught (in promise) TypeError: GPUQueue.writeBuffer: ArrayBufferView branch of (ArrayBufferView or ArrayBuffer) can't be a SharedArrayBuffer or an ArrayBufferView backed by a SharedArrayBuffer
reset_particles https://web-gpu-particles.vercel.app/main.js:2301
set_num_particles https://web-gpu-particles.vercel.app/main.js:2210
<anonymous> https://web-gpu-particles.vercel.app/main.js:2355
main.js:2301:25
| Reporter | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Comment 2•1 year ago
|
||
WebGPU is unreleased tech. Dropping Severity to S3 to remove from org tracking.
Comment 3•1 year ago
|
||
NI'ing for root cause investigation, no promises on ETA.
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 4•1 year ago
|
||
Blocked on at least the following:
- Missing
minandmaxconst. eval. impls. (upstream:wgpu#4507) - bug 1696216, for buffer writes backed by a
SharedArrayBuffer.
Updated•1 year ago
|
Updated•1 year ago
|
Description
•