summaryrefslogtreecommitdiff
path: root/op_crates/webgpu/sampler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'op_crates/webgpu/sampler.rs')
-rw-r--r--op_crates/webgpu/sampler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/op_crates/webgpu/sampler.rs b/op_crates/webgpu/sampler.rs
index fdff70b77..b759d0c11 100644
--- a/op_crates/webgpu/sampler.rs
+++ b/op_crates/webgpu/sampler.rs
@@ -82,7 +82,7 @@ pub struct CreateSamplerArgs {
pub fn op_webgpu_create_sampler(
state: &mut OpState,
args: CreateSamplerArgs,
- _zero_copy: &mut [ZeroCopyBuf],
+ _zero_copy: Option<ZeroCopyBuf>,
) -> Result<Value, AnyError> {
let instance = state.borrow::<super::Instance>();
let device_resource = state