1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00

fix(ext/webgpu): GPUDevice.createRenderPipelineAsync should return a Promise (#24349)

Fixes #24317
This commit is contained in:
chirsz 2024-07-12 12:23:52 +08:00 committed by David Sherret
parent 4cd7092fd2
commit 247513e547

View file

@ -1680,7 +1680,7 @@ class GPUDevice extends EventTarget {
rid,
);
device.trackResource(renderPipeline);
return renderPipeline;
return PromiseResolve(renderPipeline);
}
/**