aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gpucommandencoder.rs
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2020-05-20 11:28:10 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2020-05-21 18:28:49 +0530
commita4f911699a6d17df0d53b24ff02619ac982c590e (patch)
tree936e1071b3bab265595b4392244dd66270c7d39e /components/script/dom/gpucommandencoder.rs
parent1a74382603ac05178b92373cff4c96a0f31741a6 (diff)
downloadservo-a4f911699a6d17df0d53b24ff02619ac982c590e.tar.gz
servo-a4f911699a6d17df0d53b24ff02619ac982c590e.zip
Upgrade wgpu-core version to 0.5.0 and implement server-side logic for wgpu id recycling
Remove current implementation of MapReadAsync
Diffstat (limited to 'components/script/dom/gpucommandencoder.rs')
-rw-r--r--components/script/dom/gpucommandencoder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/gpucommandencoder.rs b/components/script/dom/gpucommandencoder.rs
index 16cfb993ec1..ac5dbcad983 100644
--- a/components/script/dom/gpucommandencoder.rs
+++ b/components/script/dom/gpucommandencoder.rs
@@ -19,7 +19,7 @@ use dom_struct::dom_struct;
use ipc_channel::ipc;
use std::cell::Cell;
use std::collections::HashSet;
-use webgpu::wgpu::resource::BufferUsage;
+use webgpu::wgt::BufferUsage;
use webgpu::{WebGPU, WebGPUCommandEncoder, WebGPURequest};
const BUFFER_COPY_ALIGN_MASK: u64 = 3;