Skip to content

Commit bb01d72

Browse files
authored
fix(deno): use correct op for GPUDevice.createSampler (#3480)
1 parent bd712e0 commit bb01d72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deno_webgpu/src/01_webgpu.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,7 @@
988988
context: "Argument 1",
989989
});
990990
const device = assertDevice(this, { prefix, context: "this" });
991-
const { rid, err } = ops.op_webgpu_create_texture({
991+
const { rid, err } = ops.op_webgpu_create_sampler({
992992
deviceRid: device.rid,
993993
...descriptor,
994994
});

0 commit comments

Comments
 (0)