OS: Windows 10 x64
Browser: ungoogled-chromium 108.0.5359.95
Babylon.js: 5.36.0
Playground: Babylon.js Playground
Expected:
Load the model and renders it.
Actual:
Shows a white screen.
Manually switch to WebGPU to reproduce in the playground link.
Note the model is embedded into the playground as base64 data-uri.
Edit: Warnings from Console attached below:
Warnings
Attribute base type (Uint) does not match the shader’s base type (Float) in location (0).
- While validating attributes[0].
- While validating buffers[0].
- While validating vertex state.
- While calling [Device].CreateRenderPipeline([RenderPipelineDescriptor “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”]).
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (1): [object GPUValidationError] - Attribute base type (Uint) does not match the shader’s base type (Float) in location (0).
- While validating attributes[0].
- While validating buffers[0].
- While validating vertex state.
- While calling [Device].CreateRenderPipeline([RenderPipelineDescriptor “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”]).
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
250[Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”] is invalid.
- While encoding [RenderPassEncoder].SetPipeline([Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”]).
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (2): [object GPUValidationError] - [Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”] is invalid.
- While encoding [RenderPassEncoder].SetPipeline([Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”]).
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
249[Invalid CommandBuffer] is invalid.
at ValidateObject (…..\third_party\dawn\src\dawn\native\Device.cpp:651)
at ValidateSubmit (…..\third_party\dawn\src\dawn\native\Queue.cpp:393)
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (3): [object GPUValidationError] - [Invalid CommandBuffer] is invalid.
at ValidateObject (…..\third_party\dawn\src\dawn\native\Device.cpp:651)
at ValidateSubmit (…..\third_party\dawn\src\dawn\native\Queue.cpp:393)
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (4): [object GPUValidationError] - [Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”] is invalid.
- While encoding [RenderPassEncoder].SetPipeline([Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”]).
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (5): [object GPUValidationError] - [Invalid CommandBuffer] is invalid.
at ValidateObject (…..\third_party\dawn\src\dawn\native\Device.cpp:651)
at ValidateSubmit (…..\third_party\dawn\src\dawn\native\Queue.cpp:393)
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (6): [object GPUValidationError] - [Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”] is invalid.
- While encoding [RenderPassEncoder].SetPipeline([Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”]).
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (7): [object GPUValidationError] - [Invalid CommandBuffer] is invalid.
at ValidateObject (…..\third_party\dawn\src\dawn\native\Device.cpp:651)
at ValidateSubmit (…..\third_party\dawn\src\dawn\native\Queue.cpp:393)
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (8): [object GPUValidationError] - [Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”] is invalid.
- While encoding [RenderPassEncoder].SetPipeline([Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”]).
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (9): [object GPUValidationError] - [Invalid CommandBuffer] is invalid.
at ValidateObject (…..\third_party\dawn\src\dawn\native\Device.cpp:651)
at ValidateSubmit (…..\third_party\dawn\src\dawn\native\Queue.cpp:393)
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (10): [object GPUValidationError] - [Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”] is invalid.
- While encoding [RenderPassEncoder].SetPipeline([Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”]).
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (11): [object GPUValidationError] - [Invalid CommandBuffer] is invalid.
at ValidateObject (…..\third_party\dawn\src\dawn\native\Device.cpp:651)
at ValidateSubmit (…..\third_party\dawn\src\dawn\native\Queue.cpp:393)
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (12): [object GPUValidationError] - [Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”] is invalid.
- While encoding [RenderPassEncoder].SetPipeline([Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”]).
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (13): [object GPUValidationError] - [Invalid CommandBuffer] is invalid.
at ValidateObject (…..\third_party\dawn\src\dawn\native\Device.cpp:651)
at ValidateSubmit (…..\third_party\dawn\src\dawn\native\Queue.cpp:393)
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (14): [object GPUValidationError] - [Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”] is invalid.
- While encoding [RenderPassEncoder].SetPipeline([Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”]).
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (15): [object GPUValidationError] - [Invalid CommandBuffer] is invalid.
at ValidateObject (…..\third_party\dawn\src\dawn\native\Device.cpp:651)
at ValidateSubmit (…..\third_party\dawn\src\dawn\native\Queue.cpp:393)
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (16): [object GPUValidationError] - [Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”] is invalid.
- While encoding [RenderPassEncoder].SetPipeline([Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”]).
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (17): [object GPUValidationError] - [Invalid CommandBuffer] is invalid.
at ValidateObject (…..\third_party\dawn\src\dawn\native\Device.cpp:651)
at ValidateSubmit (…..\third_party\dawn\src\dawn\native\Queue.cpp:393)
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (18): [object GPUValidationError] - [Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”] is invalid.
- While encoding [RenderPassEncoder].SetPipeline([Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”]).
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (19): [object GPUValidationError] - [Invalid CommandBuffer] is invalid.
at ValidateObject (…..\third_party\dawn\src\dawn\native\Device.cpp:651)
at ValidateSubmit (…..\third_party\dawn\src\dawn\native\Queue.cpp:393)
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error (20): [object GPUValidationError] - [Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”] is invalid.
- While encoding [RenderPassEncoder].SetPipeline([Invalid RenderPipeline “RenderPipeline_bgra8unorm_depth24plus-stencil8_samples4”]).
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:649
logger.ts:103 BJS - [16:30:40]: WebGPU uncaptured error: too many warnings (20), no more warnings will be reported to the console for this engine.
e._LogEnabled @ logger.ts:103
(anonymous) @ webgpuEngine.ts:651
/#E1F3AI:1 WebGPU: too many warnings, no more warnings will be reported to the console for this GPUDevice.