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:
parent
4cd7092fd2
commit
247513e547
1 changed files with 1 additions and 1 deletions
|
@ -1680,7 +1680,7 @@ class GPUDevice extends EventTarget {
|
|||
rid,
|
||||
);
|
||||
device.trackResource(renderPipeline);
|
||||
return renderPipeline;
|
||||
return PromiseResolve(renderPipeline);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue