Skip to content

Commit

Permalink
Fix webgpu compile
Browse files Browse the repository at this point in the history
  • Loading branch information
DJMcNab committed Apr 19, 2024
1 parent dcd4250 commit d3d4fb9
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions wgpu/src/backend/webgpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1820,22 +1820,14 @@ impl crate::context::Context for ContextWebGpu {
create_identified(device_data.0.create_compute_pipeline(&mapped_desc))
}

fn device_create_pipeline_cache(
unsafe fn device_create_pipeline_cache(
&self,
_: &Self::DeviceId,
_: &Self::DeviceData,
_: &crate::PipelineCacheDescriptor<'_>,
) -> (Self::PipelineCacheId, Self::PipelineCacheData) {
(Unused, ())
}
unsafe fn device_create_pipeline_cache_init(
&self,
_: &Self::DeviceId,
_: &Self::DeviceData,
_: &crate::PipelineCacheInitDescriptor<'_>,
) -> (Self::PipelineCacheId, Self::PipelineCacheData) {
(Unused, ())
}
fn pipeline_cache_drop(&self, _: &Self::PipelineCacheId, _: &Self::PipelineCacheData) {}

fn device_create_buffer(
Expand Down

0 comments on commit d3d4fb9

Please sign in to comment.