Files
tubestation/third_party/rust/wgpu-core/build.rs
Erich Gubler 539617b537 Bug 1875543: Bump wgpu to f9509bcf9ec2b63a64eb7fea93f7f44cd5ae4d2e (trunk as of 2024-01-19) r=webgpu-reviewers,supply-chain-reviewers,nical
Adjusts expected test outcomes with the following `moz-webgpu-cts
process-reports` 0.7.0 invocations:

* `--preset=reset-contradictory` with reports from
  [try:63732cbc29117fbae9384d23835615fe9c5b4249](https://treeherder.mozilla.org/jobs?repo=try&tier=1%2C2%2C3&revision=63732cbc29117fbae9384d23835615fe9c5b4249)

Differential Revision: https://phabricator.services.mozilla.com/D199143
2024-01-23 15:06:40 +00:00

14 lines
579 B
Rust

fn main() {
cfg_aliases::cfg_aliases! {
send_sync: { any(
not(target_arch = "wasm32"),
all(feature = "fragile-send-sync-non-atomic-wasm", not(target_feature = "atomics"))
) },
webgl: { all(target_arch = "wasm32", not(target_os = "emscripten"), gles) },
dx12: { all(target_os = "windows", feature = "dx12") },
gles: { all(feature = "gles") },
metal: { all(any(target_os = "ios", target_os = "macos"), feature = "metal") },
vulkan: { all(not(target_arch = "wasm32"), feature = "vulkan") }
}
}