aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/gputexture.rs
diff options
context:
space:
mode:
authorSamson <16504129+sagudev@users.noreply.github.com>2023-09-30 14:30:12 +0200
committerGitHub <noreply@github.com>2023-09-30 12:30:12 +0000
commitddc47aa56b2c59911b7fec018d7ae89bf2a77bee (patch)
tree754019c50c36ec2a59dcf861036d6c624490fb32 /components/script/dom/gputexture.rs
parentebd41d41017ee9727eb8417a0a01237b75f3e9c4 (diff)
downloadservo-ddc47aa56b2c59911b7fec018d7ae89bf2a77bee.tar.gz
servo-ddc47aa56b2c59911b7fec018d7ae89bf2a77bee.zip
Codegen support multiple interfaces in single webidl file & WebGPU single webidl (#30448)
* Codegen support multiple interfaces in single webidl file * Merge GPU*.webidl into WebGPU.webidl * Update gpu files to use WebGPUBinding module file
Diffstat (limited to 'components/script/dom/gputexture.rs')
-rw-r--r--components/script/dom/gputexture.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/components/script/dom/gputexture.rs b/components/script/dom/gputexture.rs
index 5b420276d47..b10f79915d3 100644
--- a/components/script/dom/gputexture.rs
+++ b/components/script/dom/gputexture.rs
@@ -11,11 +11,9 @@ use webgpu::wgpu::resource;
use webgpu::{wgt, WebGPU, WebGPURequest, WebGPUTexture, WebGPUTextureView};
use crate::dom::bindings::cell::DomRefCell;
-use crate::dom::bindings::codegen::Bindings::GPUTextureBinding::{
- GPUExtent3DDict, GPUTextureDimension, GPUTextureFormat, GPUTextureMethods,
-};
-use crate::dom::bindings::codegen::Bindings::GPUTextureViewBinding::{
- GPUTextureAspect, GPUTextureViewDescriptor,
+use crate::dom::bindings::codegen::Bindings::WebGPUBinding::{
+ GPUExtent3DDict, GPUTextureAspect, GPUTextureDimension, GPUTextureFormat, GPUTextureMethods,
+ GPUTextureViewDescriptor,
};
use crate::dom::bindings::reflector::{reflect_dom_object, DomObject, Reflector};
use crate::dom::bindings::root::{Dom, DomRoot};