mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +00:00
remove some unnecessary and
This commit is contained in:
parent
6f3499ecae
commit
b61298a884
@ -1,5 +1,3 @@
|
||||
use hal;
|
||||
|
||||
use crate::{BindGroupLayoutId, BufferId, SamplerId, TextureViewId};
|
||||
|
||||
bitflags! {
|
||||
|
@ -4,7 +4,7 @@ use crate::{DeviceId, LifeGuard, Stored};
|
||||
|
||||
use hal::command::RawCommandBuffer;
|
||||
use hal::pool::RawCommandPool;
|
||||
use hal::{self, Device};
|
||||
use hal::Device;
|
||||
|
||||
use std::collections::HashMap;
|
||||
//TODO: use `parking_lot::Mutex`?
|
||||
|
@ -1,7 +1,6 @@
|
||||
use crate::registry::{Items, HUB};
|
||||
use crate::{BindGroupId, CommandBufferId, ComputePassId, ComputePipelineId, Stored};
|
||||
|
||||
use hal;
|
||||
use hal::command::RawCommandBuffer;
|
||||
|
||||
use std::iter;
|
||||
|
@ -7,7 +7,7 @@ pub use self::compute::*;
|
||||
pub use self::render::*;
|
||||
|
||||
use hal::command::RawCommandBuffer;
|
||||
use hal::{self, Device};
|
||||
use hal::Device;
|
||||
|
||||
use crate::device::{FramebufferKey, RenderPassKey};
|
||||
use crate::registry::{Items, HUB};
|
||||
|
@ -2,7 +2,6 @@ use crate::registry::{Items, HUB};
|
||||
use crate::track::{BufferTracker, TextureTracker};
|
||||
use crate::{CommandBuffer, CommandBufferId, RenderPassId, Stored};
|
||||
|
||||
use hal;
|
||||
use hal::command::RawCommandBuffer;
|
||||
|
||||
pub struct RenderPass<B: hal::Backend> {
|
||||
|
@ -1,5 +1,3 @@
|
||||
use hal;
|
||||
|
||||
use crate::{binding_model, command, pipeline, resource, Color, Extent3d};
|
||||
|
||||
pub fn map_buffer_usage(
|
||||
|
@ -1,4 +1,4 @@
|
||||
use hal::{self, Instance as _Instance, PhysicalDevice as _PhysicalDevice};
|
||||
use hal::{Instance as _Instance, PhysicalDevice as _PhysicalDevice};
|
||||
|
||||
use crate::registry::{Items, HUB};
|
||||
use crate::{AdapterId, Device, DeviceId, InstanceId};
|
||||
|
@ -4,7 +4,6 @@ extern crate bitflags;
|
||||
extern crate lazy_static;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
extern crate parking_lot;
|
||||
|
||||
#[cfg(feature = "gfx-backend-dx12")]
|
||||
extern crate gfx_backend_dx12 as back;
|
||||
|
@ -1,4 +1,3 @@
|
||||
use hal;
|
||||
use crate::resource;
|
||||
|
||||
use crate::{BlendStateId, ByteArray, DepthStencilStateId, PipelineLayoutId, ShaderModuleId};
|
||||
|
@ -1,7 +1,5 @@
|
||||
use crate::{DeviceId, Extent3d, LifeGuard, Stored, TextureId};
|
||||
|
||||
use hal;
|
||||
|
||||
bitflags! {
|
||||
#[repr(transparent)]
|
||||
pub struct BufferUsageFlags: u32 {
|
||||
|
Loading…
Reference in New Issue
Block a user