mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
fix(ext/webgpu): GPUDevice.createRenderPipelineAsync should return a Promise (#24349)
Fixes #24317
This commit is contained in:
parent
7ab25dd89e
commit
01c074d195
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