We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c23c50 commit 68178d0Copy full SHA for 68178d0
examples/states.rs
@@ -16,7 +16,9 @@ const EXPECTED_PIPELINES: usize = 29;
16
// render features.
17
#[cfg(all(target_arch = "wasm32", feature = "webgpu", not(feature = "webgl2")))]
18
const EXPECTED_PIPELINES: usize = 14;
19
-// Note: you must add these features to your app. See `Cargo.toml`.
+// Note: These features can be simplified if your app only builds for one of either
20
+// webgpu or webgl2. Simply use `#[cfg(target_arch = "wasm32")]`. If your app builds
21
+// for both, you must add these features (or similar) to your app. See `Cargo.toml`.
22
#[cfg(all(target_arch = "wasm32", feature = "webgl2", not(feature = "webgpu")))]
23
const EXPECTED_PIPELINES: usize = 6;
24
0 commit comments