【发布时间】:2021-12-15 04:58:00
【问题描述】:
无论哪个 WebGPU 示例(austin-eng、jack1232/WebGPU-Step-By-Step 等)我在 Chrome Canary 97.0.4686.0 中运行并启用了不安全的 WebGPU 标志,我在控制台中遇到一些错误,表明我的浏览器不支持 WebGPU。
示例:https://austin-eng.com/webgpu-samples/samples/helloTriangle
Is WebGPU Enabled?
TypeError: Cannot read property 'requestDevice' of null
你能重现这种行为吗?
【问题讨论】:
-
我在不同的计算机和操作系统上测试了一些东西。带有标志的 Firefox nightly 似乎也不起作用。
await navigator.gpu.requestAdapter()Uncaught (in promise) DOMException: No matching adapter found!2021 年末,对 WebGPU 的支持太糟糕了,这很愚蠢。感谢没有 cmets 和反对票。我很感激。
标签: chrome-canary webgpu