mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
webgpu: Refactor webgpu crate (#32255)
* wgpu(_core) -> wgc * Refactor webgpu crate split lib.rs into multiple modules
This commit is contained in:
parent
c4f8599404
commit
168d43f24a
21 changed files with 1475 additions and 1413 deletions
|
@ -13,12 +13,11 @@ use std::sync::{Arc, Mutex};
|
|||
|
||||
use dom_struct::dom_struct;
|
||||
use js::jsapi::{Heap, JSObject};
|
||||
use webgpu::identity::WebGPUOpResult;
|
||||
use webgpu::wgpu::id::{BindGroupLayoutId, PipelineLayoutId};
|
||||
use webgpu::wgpu::{
|
||||
use webgpu::wgc::id::{BindGroupLayoutId, PipelineLayoutId};
|
||||
use webgpu::wgc::{
|
||||
binding_model as wgpu_bind, command as wgpu_com, pipeline as wgpu_pipe, resource as wgpu_res,
|
||||
};
|
||||
use webgpu::{self, wgt, ErrorScopeId, WebGPU, WebGPURequest};
|
||||
use webgpu::{self, wgt, ErrorScopeId, WebGPU, WebGPUOpResult, WebGPURequest};
|
||||
|
||||
use super::bindings::codegen::UnionTypes::GPUPipelineLayoutOrGPUAutoLayoutMode;
|
||||
use super::bindings::error::Fallible;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue