Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ include = ["src", "LICENSE"]
anyhow = "1.0.3"
libloading = "0.8"
# Autogenerated bindings reference `::windows_core` instead of `::windows::core`
windows-core = ">=0.56, <=0.58"
windows-core = ">=0.57, <=0.59"

[dependencies.windows]
version = ">=0.56, <=0.58"
version = ">=0.57, <=0.59"
features = [
"implement",
"Win32_Foundation",
"Win32_Graphics_Direct3D12",
"Win32_Graphics_Dxgi_Common",
Expand Down
2 changes: 1 addition & 1 deletion api_gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ edition = "2021"
publish = false

[dependencies]
windows-bindgen = "0.58"
windows-bindgen = "0.59"
8 changes: 3 additions & 5 deletions api_gen/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
use windows_bindgen::{bindgen, Result};
use windows_bindgen::bindgen;

fn main() -> Result<()> {
let log = bindgen(["--etc", "bindings.txt"])?;
println!("{}", log);
Ok(())
fn main() {
bindgen(["--etc", "bindings.txt"])
}
6 changes: 5 additions & 1 deletion bindings.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
--in .windows/winmd/
--out src/Amd.rs
--out src/bindings.rs

--filter
Amd

--reference
windows,skip-root,ID3D12GraphicsCommandList
windows,skip-root,D3D12_GRAPHICS_PIPELINE_STATE_DESC
227 changes: 0 additions & 227 deletions src/Amd.rs

This file was deleted.

Loading
Loading