Yield-spin budget (ms) the LOADED native binary implements before the
event drain degrades to coarse sleeping, or null where it can't be
asked (web, or a binary predating the export).
Configures the persistent shader cache. Returns true when the change
was stored before any context was initialized (so it affects the next
device), false when a context is already live or the platform has no
shader cache. See Minigpu.configureShaderCache for the full contract.
Create a D3D11 device on the same DXGI adapter as Dawn's D3D12 device.
Returns the ID3D11Device* address (non-zero) or 0 on failure.
Windows-only; returns 0 on all other platforms.
Creates an INDEPENDENT platform context bound to the adapter whose name
contains adapterFilter (case-insensitive substring, e.g. "3090") —
its own device, queue, and task FIFO. Buffers and shaders created from
the returned platform live on that adapter and must not be mixed with
another context's resources in a single dispatch. Returns null on
platforms without multi-adapter support (web).
Pre-init hint (Windows): bind Dawn to the adapter driving the PRIMARY
display so screen capture (Desktop Duplication / WGC), GPU processing
and any D3D11 encoder created on Dawn's adapter share one GPU —
same-adapter zero-copy import — even on multi-output hybrid systems
where the discrete GPU also drives a monitor. The MGPU_ADAPTER_NAME
env var still overrides.