#[cfg(any(
target_os = "macos",
target_os = "ios",
target_os = "windows",
target_os = "linux",
target_os = "android"
))]
use super::*;
#[cfg(any(target_os = "macos", target_os = "ios"))]
pub(crate) static METAL_SELECTORS: OnceLock<MetalSelectors> = OnceLock::new();
#[cfg(any(target_os = "macos", target_os = "ios"))]
pub(crate) static METAL_SHARED_PIPELINE: OnceLock<MetalSharedPipelineCache> = OnceLock::new();
#[cfg(any(target_os = "macos", target_os = "ios"))]
pub(crate) static METAL_LAST_PRESENTED_NS: AtomicU64 = AtomicU64::new(0);
#[cfg(any(target_os = "macos", target_os = "ios"))]
pub(crate) static METAL_LAST_GPU_EXEC_NS: AtomicU64 = AtomicU64::new(0);
#[cfg(any(target_os = "macos", target_os = "ios"))]
pub(crate) static METAL_BLOCK_DESCRIPTOR: ObjcBlockDescriptor = ObjcBlockDescriptor {
reserved: 0,
size: size_of::<ObjcGlobalBlock>(),
};
#[cfg(any(target_os = "macos", target_os = "ios"))]
pub(crate) static METAL_PRESENTED_BLOCK_ADDR: OnceLock<usize> = OnceLock::new();
#[cfg(any(target_os = "macos", target_os = "ios"))]
pub(crate) static METAL_COMPLETED_BLOCK_ADDR: OnceLock<usize> = OnceLock::new();
#[cfg(target_os = "windows")]
pub(crate) static WINDOWS_D3D12_CACHE: OnceLock<WindowsD3d12ProbeCache> = OnceLock::new();
#[cfg(any(target_os = "linux", target_os = "android"))]
pub(crate) static VULKAN_PROBE_CACHE: OnceLock<VulkanProbeCache> = OnceLock::new();