mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -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,
|
rid,
|
||||||
);
|
);
|
||||||
device.trackResource(renderPipeline);
|
device.trackResource(renderPipeline);
|
||||||
return renderPipeline;
|
return PromiseResolve(renderPipeline);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue