Bug 1878319 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Go to 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

​
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

​

Back to Bug 1878319 Comment 0