Skip to content

Commit

Permalink
fixup! [wgpu-hal] gfx-rs#5956 windows-rs migration followups and cl…
Browse files Browse the repository at this point in the history
…eanups
  • Loading branch information
ErichDonGubler committed Aug 28, 2024
1 parent ca7b68d commit 4da2ca9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions wgpu-hal/src/dx12/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ use windows::{
};

use super::SurfaceTarget;
use crate::{
auxil::{self, dxgi::result::HResult as _},
dx12::D3D12Lib,
};
use crate::{auxil, dx12::D3D12Lib};

impl Drop for super::Instance {
fn drop(&mut self) {
Expand Down
2 changes: 0 additions & 2 deletions wgpu-hal/src/dx12/shader_compilation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ use std::ptr;
pub(super) use dxc::{compile_dxc, get_dxc_container, DxcContainer};
use windows::Win32::Graphics::Direct3D;

use crate::auxil::dxgi::result::HResult;

// This exists so that users who don't want to use dxc can disable the dxc_shader_compiler feature
// and not have to compile hassle_rs.
// Currently this will use Dxc if it is chosen as the dx12 compiler at `Instance` creation time, and will
Expand Down

0 comments on commit 4da2ca9

Please sign in to comment.