fix(deno): use correct op for GPUDevice.createSampler (#3480)

This commit is contained in:
Leo Kettmeir 2023-02-11 01:29:07 +01:00 committed by GitHub
parent bd712e083c
commit bb01d723ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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