diff options
Diffstat (limited to 'ext/webgpu/src/shader.rs')
-rw-r--r-- | ext/webgpu/src/shader.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/webgpu/src/shader.rs b/ext/webgpu/src/shader.rs index 60290de8b..0173fffa2 100644 --- a/ext/webgpu/src/shader.rs +++ b/ext/webgpu/src/shader.rs @@ -1,6 +1,7 @@ // Copyright 2018-2022 the Deno authors. All rights reserved. MIT license. use deno_core::error::AnyError; +use deno_core::op; use deno_core::ResourceId; use deno_core::{OpState, Resource}; use serde::Deserialize; @@ -24,6 +25,7 @@ pub struct CreateShaderModuleArgs { _source_map: Option<()>, // not yet implemented } +#[op] pub fn op_webgpu_create_shader_module( state: &mut OpState, args: CreateShaderModuleArgs, |