docs.rs failed to build amd-ext-d3d-0.3.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
amd-ext-d3d-0.3.0
Rust bindings for AMD's DirectX12 RGP markers
Call AMD's command list markers directly in Rust for event instrumentation in Radeon GPU Profiler, as well as other functionality provided on IAmdExtD3DDevice1
.
Usage
Add this to your Cargo.toml:
[]
= "0.3.1"
While upstream documentation details how to embed these calls into existing PIX3 markers (behind a C #derive
), you get to call them explicitly in Rust:
use AmdExtD3DDevice;
use CStr;
use ;
let device: ID3D12Device = todo!;
let cmd_list: ID3D12GraphicsCommandList = todo!;
// Load the extension
let amd_device = unsafe .unwrap;
let name = from_bytes_with_nul.unwrap;
unsafe ;
// Submit work to the GPU...
unsafe ;
Contributing
See CONTRIBUTING.md for details on regenerating the metadata and Rust code from upstream headers.