Skip to content

Commit

Permalink
Extract dxgi conversion functions into auxil
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald committed Feb 19, 2022
1 parent 4488490 commit 058f9bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions wgpu-hal/src/dx12/conv.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
use std::iter;
use winapi::{
um::{d3d12, d3dcommon},
};
use winapi::um::{d3d12, d3dcommon};

pub fn map_buffer_usage_to_resource_flags(usage: crate::BufferUses) -> d3d12::D3D12_RESOURCE_FLAGS {
let mut flags = 0;
Expand Down
2 changes: 1 addition & 1 deletion wgpu-hal/src/dx12/device.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::{FormatAspects, auxil};
use crate::{auxil, FormatAspects};

use super::{conv, descriptor, view, HResult as _};
use parking_lot::Mutex;
Expand Down

0 comments on commit 058f9bc

Please sign in to comment.