WRT WebGPU CTS, we have some interesting changes: - Promotions from tier 3 to tier 2: - `webgpu:shader,execution,expression,call,builtin,textureStore:out_of_bounds:*` - All of `webgpu:shader,execution,expression,binary,ai_arithmetic:*` on Windows and Linux. - Some of `webgpu:shader,execution,expression,binary,bitwise:*` on Windows and Linux: - `…:bitwise_and:*` - `…:bitwise_exclusive_or:*` - `…:bitwise_or:*` - `webgpu:shader,execution,expression,call,builtin,textureStore:out_of_bounds:*` - Some of `webgpu:shader,execution,expression,unary,*` on Windows and Linux: - `…,ai_assignment:abstract:*` - `…,ai_assignment:abstract:*` - `…,ai_complement:complement:*` - `webgpu:shader,execution,limits:switch_case_selectors:*` on Windows and macOS. - `webgpu:shader,execution,limits:workgroup_array_byte_size_override:*` on all but Windows debug. - `webgpu:shader,execution,zero_init:compute,zero_init:*` on macOS. - `webgpu:shader,validation,expression,access,vector:abstract:*` - `webgpu:shader,validation,expression,call,builtin,textureGather:offset_argument,non_const:*` on all but Windows debug. - `webgpu:shader,validation,expression,call,builtin,textureSample:offset_argument,non_const:*` - `webgpu:shader,validation,expression,call,builtin,textureSampleGrad:offset_argument,non_const:*` - Most of `webgpu:shader,validation,statement,switch:*`: - `…:case_types_match:*` - `…:condition_type_match_case_type:*` - `…:parse:*` - Demotions from tier 2 to tier 3: - `webgpu:api,validation,capability_checks,limits,maxColorAttachmentBytesPerSample:beginRenderPass,at_over:*` - Otherwise notable potential regressions: - `webgpu:shader,validation,expression,matrix,mul:overflow_scalar_abstract:*` Differential Revision: https://phabricator.services.mozilla.com/D242218
28 lines
1.2 KiB
Rust
28 lines
1.2 KiB
Rust
fn main() {
|
|
cfg_aliases::cfg_aliases! {
|
|
windows_linux_android: { any(windows, target_os = "linux", target_os = "android") },
|
|
send_sync: { all(
|
|
feature = "std",
|
|
any(
|
|
not(target_arch = "wasm32"),
|
|
all(feature = "fragile-send-sync-non-atomic-wasm", not(target_feature = "atomics"))
|
|
)
|
|
) },
|
|
dx12: { all(target_os = "windows", feature = "dx12") },
|
|
webgl: { all(target_arch = "wasm32", not(target_os = "emscripten"), feature = "webgl") },
|
|
gles: { any(
|
|
all(windows_linux_android, feature = "gles"), // Regular GLES
|
|
all(webgl), // WebGL
|
|
all(target_os = "emscripten", feature = "gles"), // Emscripten GLES
|
|
all(target_vendor = "apple", feature = "angle") // ANGLE on Apple
|
|
) },
|
|
vulkan: { any(
|
|
all(windows_linux_android, feature = "vulkan"), // Regular Vulkan
|
|
all(target_vendor = "apple", feature = "vulkan-portability") // Vulkan Portability on Apple
|
|
) },
|
|
metal: { all(target_vendor = "apple", feature = "metal") },
|
|
|
|
supports_64bit_atomics: { target_has_atomic = "64" }
|
|
}
|
|
}
|