1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -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 GitHub
parent 7ab25dd89e
commit 01c074d195
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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