[WebGPU] https://wanghoi.github.io/sichuan_map/sichuan_map.html doesnt render anything on the screen
Categories
(Core :: Graphics: WebGPU, defect)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
(Blocks 2 open bugs, )
Details
Attachments
(1 file)
45.77 KB,
text/plain
|
Details |
Go to https://github.com/khudiiash/webgpu-renderer
Error:
14:32:45.791 injected firefox content.js:142:11
14:32:45.864 status: Downloading data... (65536/26525040) sichuan_map.html:400:25
14:32:45.925 status: Downloading data... (5373952/26525040) sichuan_map.html:400:25
14:32:45.987 status: Downloading data... (13238272/26525040) sichuan_map.html:400:25
14:32:46.049 status: Downloading data... (24510464/26525040) sichuan_map.html:400:25
14:32:46.269 status: Downloading data... (26525040/26525040) sichuan_map.html:400:25
14:32:46.272 status: Running... sichuan_map.html:400:25
14:32:46.284 [39mDiligent Engine: Info: User-defined allocator is not provided. Using default allocator. sichuan_map.html:372:29
14:32:46.289 [39m[39mDiligent Engine: Info: Created dynamic buffer: 8192 KB sichuan_map.html:372:29
14:32:48.448 [39m[39mDiligent Engine: Info: Created a new upload memory page, size: 16 MB 2 sichuan_map.html:372:29
14:32:48.467 [39m[39mDiligent Engine: Info: Created a new upload memory page, size: 64 MB 2 sichuan_map.html:372:29
14:32:48.563 spawn event app-ready sichuan_map.js:1:21751
14:32:49.154 onerror: [object ErrorEvent] sichuan_map.html:411:21
14:32:49.155
Uncaught TypeError: GPUQueue.writeBuffer: ArrayBufferView branch of (ArrayBufferView or ArrayBuffer) can't be a SharedArrayBuffer or an ArrayBufferView backed by a SharedArrayBuffer
_wgpuQueueWriteBuffer https://wanghoi.github.io/sichuan_map/sichuan_map.js:1
browserIterationFunc https://wanghoi.github.io/sichuan_map/sichuan_map.js:1
callUserCallback https://wanghoi.github.io/sichuan_map/sichuan_map.js:1
runIter https://wanghoi.github.io/sichuan_map/sichuan_map.js:1
Browser_mainLoop_runner https://wanghoi.github.io/sichuan_map/sichuan_map.js:1
sichuan_map.js:1:165042
_wgpuQueueWriteBuffer https://wanghoi.github.io/sichuan_map/sichuan_map.js:1
<anonymous> https://wanghoi.github.io/sichuan_map/sichuan_map.wasm:1988325
<anonymous> https://wanghoi.github.io/sichuan_map/sichuan_map.wasm:5069546
<anonymous> https://wanghoi.github.io/sichuan_map/sichuan_map.wasm:7559669
<anonymous> https://wanghoi.github.io/sichuan_map/sichuan_map.wasm:7544683
browserIterationFunc https://wanghoi.github.io/sichuan_map/sichuan_map.js:1
callUserCallback https://wanghoi.github.io/sichuan_map/sichuan_map.js:1
runIter https://wanghoi.github.io/sichuan_map/sichuan_map.js:1
Browser_mainLoop_runner https://wanghoi.github.io/sichuan_map/sichuan_map.js:1
14:32:49.765 status: sichuan_map.html:400:25
14:32:49.766 Uncaptured WebGPU error: In a pass parameter, caused by: The color attachment at index 0's texture view is not renderable:, caused by: The dimension of this texture view is not 2D. View dimension: D2Array
14:32:49.766 [39m[91mDiligent Engine: ERROR: WebGPU: In a pass parameter, caused by: The color attachment at index 0's texture view is not renderable:, caused by: The dimension of this texture view is not 2D. View dimension: D2Array sichuan_map.html:372:29
14:32:49.766 Uncaptured WebGPU error: Command encoder is invalid
14:32:49.766 [39m[91mDiligent Engine: ERROR: WebGPU: Command encoder is invalid sichuan_map.html:372:29
14:32:49.771 Uncaptured WebGPU error: Shader module creation failed: Parsing error
14:32:49.771 [39m[91mDiligent Engine: ERROR: WebGPU: Shader module creation failed: Parsing error sichuan_map.html:372:29
14:32:49.771
Encountered one or more errors while creating shader module
14:32:49.771
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
14:32:49.771
Shader '' parsing error: the type of NON_POWER_OF_TWO
is expected to be u32
, but got i32
┌─ wgsl:2:10
│
2 │ override NON_POWER_OF_TWO: u32 = 0;
│ ^^^^^^^^^^^^^^^^ definition of NON_POWER_OF_TWO
14:32:49.771 Uncaptured WebGPU error: ShaderModule with '' label is invalid
14:32:49.772 [39m[91mDiligent Engine: ERROR: WebGPU: ShaderModule with '' label is invalid sichuan_map.html:372:29
14:33:27.999 [39m[39mDiligent Engine: Info: Resizing the swap chain to 1964x1190 sichuan_map.html:372:29
14:33:30.414 [39m[39mDiligent Engine: Info: Resizing the swap chain to 2240x1202 sichuan_map.html:372:29
14:33:35.848 [39m[39mDiligent Engine: Info: Resizing the swap chain to 2240x509
Reporter | ||
Comment 1•8 months ago
|
||
Updated•8 months ago
|
Updated•5 months ago
|
Updated•4 months ago
|
Comment 2•4 months ago
|
||
Mayank, the URL pointing to https://github.com/khudiiash/webgpu-renderer seems unrelated to the actual console log errors you've posted. Perhaps you meant to point to https://wanghoi.github.io/sichuan_map/sichuan_map.html instead?
Updated•4 months ago
|
Reporter | ||
Comment 3•4 months ago
|
||
(In reply to Erich Gubler [:ErichDonGubler] from comment #2)
Mayank, the URL pointing to https://github.com/khudiiash/webgpu-renderer seems unrelated to the actual console log errors you've posted. Perhaps you meant to point to https://wanghoi.github.io/sichuan_map/sichuan_map.html instead?
Sure. I will make this bug for https://wanghoi.github.io/sichuan_map/sichuan_map.html
I will file a new bug for issues on https://mebyz.github.io/webgpu-renderer-demo/
Description
•