summaryrefslogtreecommitdiff
path: root/ext/webgpu/src/shader.rs
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-01-30 15:14:16 +0100
committerGitHub <noreply@github.com>2023-01-30 15:14:16 +0100
commit3035dee9f14402f57d42ff0b362152140b4dca13 (patch)
treeb9a3d3d36e368b3585970ffe00127c90e16b7a09 /ext/webgpu/src/shader.rs
parent266915d5ce354fde12b20f8f5ceb5ffdfacb7983 (diff)
chore: update webgpu (#17534)
Diffstat (limited to 'ext/webgpu/src/shader.rs')
-rw-r--r--ext/webgpu/src/shader.rs3
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)
}