Manually check if web gpu support is available (#1372)

* Manually check if web gpu support is available

* Add web-sys features

* Disable use of unstable apis for non wasm targets
This commit is contained in:
Dennis Kobert
2023-08-08 14:04:01 +02:00
committed by GitHub
parent 48e3f7c54a
commit 5b6a74eb38
2 changed files with 17 additions and 1 deletions
+2
View File
@@ -77,6 +77,8 @@ features = [
"CanvasRenderingContext2d",
"ImageData",
"Document",
"Navigator",
"Gpu",
"HtmlCanvasElement",
"ImageBitmapRenderingContext",
]