https://tellusim.com/demos/webgpu-20230515/interface_layer/main.html doesnt draw anything on the screen
Categories
(Core :: Graphics: WebGPU, defect)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
(Blocks 2 open bugs, )
Details
Attachments
(1 file)
40.10 KB,
text/plain
|
Details |
Enable webgpu.
Go to https://tellusim.com/demos/webgpu-20230515/interface_layer/main.html
AR: Nothing is drawn on the screen. Chrome is able to draw.
Errors:
M: 0 us: WebGPU Tellusim::Layer main.html:1:3385
09:49:03.877 M: 1.509 s: Window updated: 0 0 280x218 main.html:1:3385
09:49:03.906
Encountered one or more errors while creating shader module
09:49:03.906
WebGPU compilation info for shader module (1 error(s), 0 warning(s), 0 info)
09:49:03.906
Shader '' parsing error: expected ')', found '-1u'
┌─ wgsl:21:39
│
21 │ if((parameters.width&(parameters.width-1u))==0u&&(parameters.height&(parameters.height-1u))==0u){
│ ^^^ expected ')'
09:49:03.906 Error matching shader requirements against the pipeline, caused by: Shader module is invalid
09:49:03.907
E: 1.540 s: WebGPU: Validation: Error matching shader requirements against the pipeline, caused by: Shader module is invalid main.html:1:3536
09:49:03.908 Bind group layout is invalid
09:49:03.908
E: 1.541 s: WebGPU: Validation: Bind group layout is invalid main.html:1:3536
09:49:03.908 In a set_pipeline command, caused by: Compute pipeline (1, 1, Vulkan) is invalid
09:49:03.909
E: 1.541 s: WebGPU: Validation: In a set_pipeline command, caused by: Compute pipeline (1, 1, Vulkan) is invalid main.html:1:3536
09:49:03.984 In a pass parameter, caused by: Command encoder is invalid
09:49:03.984
E: 1.617 s: WebGPU: Validation: In a pass parameter, caused by: Command encoder is invalid main.html:1:3536
09:49:03.985 Command encoder is invalid
09:49:03.985
E: 1.618 s: WebGPU: Validation: Command encoder is invalid main.html:1:3536
09:49:20.070 M: 17.702 s: Window updated: 0 0 280x218
Reporter | ||
Comment 1•2 years ago
|
||
Updated•1 years ago
|
Comment 2•1 years ago
|
||
This is https://github.com/gfx-rs/naga/issues/1544 upstream.
Reporter | ||
Comment 3•1 year ago
|
||
This now draws for a couple of seconds, and then errors out.
M: 0 us: WebGPU Tellusim::Layer main.html:1:3385
13:31:05.439 M: 568.00 ms: Window updated: 0 0 280x218 main.html:1:3385
13:31:10.407 Not enough memory left.
13:31:10.407
E: 5.537 s: WebGPU: Validation: Not enough memory left. main.html:1:3536
printErr https://tellusim.com/demos/webgpu-20230515/interface_layer/main.html:1
put_char https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
write https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
write https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
doWritev https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
_fd_write https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:2227681
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:1003281
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:758552
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:592663
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:23697
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:15309
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:2894670
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:2219197
x https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
onuncapturederror https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
onuncapturederror https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
callUserCallback https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
onuncapturederror https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
13:31:10.408 In a set_bind_group command, caused by: Bind group at index 0 is invalid
13:31:10.408
E: 5.538 s: WebGPU: Validation: In a set_bind_group command, caused by: Bind group at index 0 is invalid main.html:1:3536
printErr https://tellusim.com/demos/webgpu-20230515/interface_layer/main.html:1
put_char https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
write https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
write https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
doWritev https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
_fd_write https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:2227681
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:1003281
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:758552
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:592663
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:23697
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:15309
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:2894670
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:2219197
x https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
onuncapturederror https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
onuncapturederror https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
callUserCallback https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
onuncapturederror https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
13:31:10.408 In a pass parameter, caused by: Command encoder is invalid
13:31:10.408
E: 5.538 s: WebGPU: Validation: In a pass parameter, caused by: Command encoder is invalid main.html:1:3536
13:31:10.408 Command encoder is invalid
13:31:10.408
E: 5.538 s: WebGPU: Validation: Command encoder is invalid main.html:1:3536
printErr https://tellusim.com/demos/webgpu-20230515/interface_layer/main.html:1
put_char https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
write https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
write https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
doWritev https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
_fd_write https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:2227681
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:1003281
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:758552
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:592663
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:23697
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:15309
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:2894670
<anonymous> https://tellusim.com/demos/webgpu-20230515/interface_layer/main.wasm:2219197
x https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
onuncapturederror https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
onuncapturederror https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
callUserCallback https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
onuncapturederror https://tellusim.com/demos/webgpu-20230515/interface_layer/main.js:1
Updated•11 months ago
|
Description
•