diff options
-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, }); |