mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 09:31:22 -05:00
fix(webgpu): use correct op for GPUDevice.createSampler (#17729)
Fixes #17728
This commit is contained in:
parent
fc90c5fb5c
commit
211f49619a
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue