diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2023-02-11 06:40:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-11 05:40:51 +0000 |
commit | 211f49619afd915a2ce56cf0b5da50f640c90f73 (patch) | |
tree | a05dc52cd70eff08341a89cf9af501b345dfc0cd | |
parent | fc90c5fb5cdf1c6f6b360ddfe15ee9cd45b63995 (diff) |
fix(webgpu): use correct op for GPUDevice.createSampler (#17729)
Fixes #17728
-rw-r--r-- | ext/webgpu/src/01_webgpu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/webgpu/src/01_webgpu.js b/ext/webgpu/src/01_webgpu.js index 10243db2f..3e8e3161e 100644 --- a/ext/webgpu/src/01_webgpu.js +++ b/ext/webgpu/src/01_webgpu.js @@ -992,7 +992,7 @@ class GPUDevice extends EventTarget { context: "Argument 1", }); const device = assertDevice(this, { prefix, context: "this" }); - const { rid, err } = ops.op_webgpu_create_texture({ + const { rid, err } = ops.op_webgpu_create_sampler({ deviceRid: device.rid, ...descriptor, }); |