[webgpu] Demo at https://www.babylonjs.com/Demos/WebGPU/forestWebGPU.html flickers and doesnt render anything on the screen
Categories
(Core :: Graphics: WebGPU, defect)
Tracking
()
People
(Reporter: mayankleoboy1, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
Attachments
(3 files)
Go to https://www.babylonjs.com/Demos/WebGPU/forestWebGPU.html
Error in console:
| Reporter | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 2•1 year ago
|
||
This demo is mostly working now. It still apparently wants to use the external texture API (bug 1827116):
WebGPU compilation info for shader module "BabylonWebGPUDevice0_CopyVideoToTexture_FragmentShader_DontInvertY" (1 error(s), 0 warning(s), 0 info)
Shader 'BabylonWebGPUDevice0_CopyVideoToTexture_FragmentShader_DontInvertY' parsing error: unknown type: `texture_external`
┌─ wgsl:3:45
│
3 │ @group(0) @binding(1) var videoTexture: texture_external;
│ ^^^^^^^^^^^^^^^^ unknown type
Comment 3•1 year ago
|
||
Ah, actually, I see no rendering differences with Chrome. I'll close this for now; we have ample follow-up for the external texture API.
| Reporter | ||
Comment 4•1 year ago
|
||
The demo doesnt render for me on Nightly. On chrome it renders.
Comment 5•1 year ago
|
||
Mayank: Are you using the latest Nightly? At the time I had written, the Nightly build fixing things was fresh off the presses.
If so, I'd love to see a profile and any console logs messages that may be relevant to WebGPU from your execution of the page.
| Reporter | ||
Comment 6•1 year ago
|
||
Latest Nightly.
Profile with logging: https://share.firefox.dev/4jumea3
Error message: attached.
| Reporter | ||
Comment 7•1 year ago
|
||
Comment 8•1 year ago
|
||
Oh, nuts, I can reproduce that log on my Windows machine, but not macOS; the culprit there seems to be an OOM error on DX12. I must not have tested on Windows, and that's a mistake on my part. Sorry for the noise, and thank you for the logs! 😀
Updated•1 year ago
|
Description
•