| <html> | |
| <body> | |
| <script> | |
| const doTest = async () => { | |
| try { | |
| const adapter = await navigator.gpu.requestAdapter(); | |
| const device = await adapter.requestDevice(); | |
| } catch (ex) { console.log(ex); } | |
| if (window.testRunner) { testRunner.notifyDone() } | |
| }; | |
| if (window.testRunner) { testRunner.waitUntilDone(); testRunner.dumpAsText() } | |
| doTest(); | |
| </script> | |
| WebGPU is only supported on Apple4 hardware or later or Mac2 hardware. | |
| </body> | |
| </html> |