mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 14:31:08 +01:00
fix(deno): use correct op for GPUDevice.createSampler (#3480)
This commit is contained in:
1 parent
bd712e083c
commit
bb01d723ba
1 file changed
+1
-1
@@ -988,7 +988,7 @@
|
||||
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,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user