diff options
Diffstat (limited to 'ext/webgpu/src/shader.rs')
-rw-r--r-- | ext/webgpu/src/shader.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/webgpu/src/shader.rs b/ext/webgpu/src/shader.rs index f45ab4400..242cb85ba 100644 --- a/ext/webgpu/src/shader.rs +++ b/ext/webgpu/src/shader.rs @@ -22,7 +22,6 @@ pub fn op_webgpu_create_shader_module( device_rid: ResourceId, label: Option<String>, code: String, - _source_map: Option<()>, // not yet implemented ) -> Result<WebGpuResult, AnyError> { let instance = state.borrow::<super::Instance>(); let device_resource = state @@ -41,6 +40,6 @@ pub fn op_webgpu_create_shader_module( device, &descriptor, source, - std::marker::PhantomData + () ) => state, WebGpuShaderModule) } |