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 b5d8afd commit cae0fb2Copy full SHA for cae0fb2
1 file changed
backends/webgpu/runtime/WebGPUDevice.cpp
@@ -90,7 +90,9 @@ WebGPUContext create_webgpu_context() {
90
91
// TimedWaitAny lets webgpu_wait() block on futures via wgpuInstanceWaitAny.
92
WGPUInstanceDescriptor instance_desc = {};
93
-#if defined(__EMSCRIPTEN__)
+ // Vendored (buck) Dawn uses the older capabilities.* API; the rig's native
94
+ // Dawn and emscripten's emdawnwebgpu (emcc 4.0.19+) use requiredFeatures.
95
+#if defined(WEBGPU_DAWN_INSTANCE_CAPABILITIES)
96
instance_desc.capabilities.timedWaitAnyEnable = true;
97
instance_desc.capabilities.timedWaitAnyMaxCount = 1;
98
#else
0 commit comments