[INFO] cloning repository https://github.com/michal-z/rust_d3d12_test1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michal-z/rust_d3d12_test1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichal-z%2Frust_d3d12_test1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichal-z%2Frust_d3d12_test1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb559fd420da13f1b730f749d8e605326a98cc0d [INFO] checking michal-z/rust_d3d12_test1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichal-z%2Frust_d3d12_test1" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michal-z/rust_d3d12_test1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/michal-z/rust_d3d12_test1 [INFO] finished tweaking git repo https://github.com/michal-z/rust_d3d12_test1 [INFO] tweaked toml for git repo https://github.com/michal-z/rust_d3d12_test1 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/michal-z/rust_d3d12_test1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9db668538c9262b67255467ba667408608006c33114b28c3b64301fdb4e8d6c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c9db668538c9262b67255467ba667408608006c33114b28c3b64301fdb4e8d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9db668538c9262b67255467ba667408608006c33114b28c3b64301fdb4e8d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9db668538c9262b67255467ba667408608006c33114b28c3b64301fdb4e8d6c", kill_on_drop: false }` [INFO] [stdout] c9db668538c9262b67255467ba667408608006c33114b28c3b64301fdb4e8d6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cebc60bf88fc95902cd8c1d4f26451b003ac0600eaba02af850b01a474533bb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5cebc60bf88fc95902cd8c1d4f26451b003ac0600eaba02af850b01a474533bb", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking glam v0.8.6 [INFO] [stderr] Checking rust_d3d12_test1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::dxgiformat::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::dxgitype::DXGI_SAMPLE_DESC; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::d3d12::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::d3dcommon::D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{LPARAM, LRESULT, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::windef::{HWND, RECT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::libloaderapi::GetModuleHandleA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::profileapi::{QueryPerformanceCounter, QueryPerformanceFrequency}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::{LARGE_INTEGER, LPCSTR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::dxgi::{IDXGISwapChain, DXGI_SWAP_CHAIN_DESC, DXGI_SWAP_EFFECT_FLIP_DISCARD}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::shared::dxgi1_3::{CreateDXGIFactory2, DXGI_CREATE_FACTORY_DEBUG}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::shared::dxgi1_4::{IDXGIFactory4, IDXGISwapChain3}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::shared::dxgiformat::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::dxgitype::{DXGI_SAMPLE_DESC, DXGI_USAGE_RENDER_TARGET_OUTPUT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::windef::{HWND, RECT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::d3d12::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::d3d12sdklayers::{ID3D12Debug, ID3D12Debug1}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::d3dcommon::D3D_FEATURE_LEVEL_11_1; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::synchapi::{CreateEventExA, WaitForSingleObject}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::um::winbase::INFINITE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::winnt::{EVENT_ALL_ACCESS, HANDLE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::winuser::GetClientRect; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/d3d12/graphics.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/wrappers.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::d3d12::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/wrappers.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/wrappers.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::HRESULT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/d3d12/graphics.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/d3d12/wrappers.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::dxgiformat::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::dxgitype::DXGI_SAMPLE_DESC; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::d3d12::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::d3dcommon::D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{LPARAM, LRESULT, UINT, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/util.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::windef::{HWND, RECT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::libloaderapi::GetModuleHandleA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::profileapi::{QueryPerformanceCounter, QueryPerformanceFrequency}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winnt::{LARGE_INTEGER, LPCSTR}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/util.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::dxgi::{IDXGISwapChain, DXGI_SWAP_CHAIN_DESC, DXGI_SWAP_EFFECT_FLIP_DISCARD}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::shared::dxgi1_3::{CreateDXGIFactory2, DXGI_CREATE_FACTORY_DEBUG}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::shared::dxgi1_4::{IDXGIFactory4, IDXGISwapChain3}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::shared::dxgiformat::*; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::dxgitype::{DXGI_SAMPLE_DESC, DXGI_USAGE_RENDER_TARGET_OUTPUT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::windef::{HWND, RECT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::d3d12::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::um::d3d12sdklayers::{ID3D12Debug, ID3D12Debug1}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::um::d3dcommon::D3D_FEATURE_LEVEL_11_1; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::synchapi::{CreateEventExA, WaitForSingleObject}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::um::winbase::INFINITE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::um::winnt::{EVENT_ALL_ACCESS, HANDLE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/graphics.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::winuser::GetClientRect; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/d3d12/graphics.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/wrappers.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::d3d12::*; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/wrappers.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/d3d12/wrappers.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::HRESULT; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/d3d12/graphics.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::Interface` [INFO] [stdout] --> src/d3d12/wrappers.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::Interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Interface` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGIFactory4` [INFO] [stdout] --> src/d3d12/graphics.rs:374:18 [INFO] [stdout] | [INFO] [stdout] 374 | &IDXGIFactory4::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `IDXGIFactory4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Debug` [INFO] [stdout] --> src/d3d12/graphics.rs:385:18 [INFO] [stdout] | [INFO] [stdout] 385 | &ID3D12Debug::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ID3D12Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Debug1` [INFO] [stdout] --> src/d3d12/graphics.rs:394:22 [INFO] [stdout] | [INFO] [stdout] 394 | &ID3D12Debug1::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ID3D12Debug1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Device2` [INFO] [stdout] --> src/d3d12/graphics.rs:412:18 [INFO] [stdout] | [INFO] [stdout] 412 | &ID3D12Device2::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ID3D12Device2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12CommandQueue` [INFO] [stdout] --> src/d3d12/graphics.rs:428:18 [INFO] [stdout] | [INFO] [stdout] 428 | &ID3D12CommandQueue::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12CommandQueue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGISwapChain3` [INFO] [stdout] --> src/d3d12/graphics.rs:458:18 [INFO] [stdout] | [INFO] [stdout] 458 | &IDXGISwapChain3::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `IDXGISwapChain3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12CommandAllocator` [INFO] [stdout] --> src/d3d12/graphics.rs:473:22 [INFO] [stdout] | [INFO] [stdout] 473 | &ID3D12CommandAllocator::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12CommandAllocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGIFactory4` [INFO] [stdout] --> src/d3d12/graphics.rs:374:18 [INFO] [stdout] | [INFO] [stdout] 374 | &IDXGIFactory4::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `IDXGIFactory4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Debug` [INFO] [stdout] --> src/d3d12/graphics.rs:385:18 [INFO] [stdout] | [INFO] [stdout] 385 | &ID3D12Debug::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ID3D12Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Debug1` [INFO] [stdout] --> src/d3d12/graphics.rs:394:22 [INFO] [stdout] | [INFO] [stdout] 394 | &ID3D12Debug1::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ID3D12Debug1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Resource` [INFO] [stdout] --> src/d3d12/graphics.rs:533:22 [INFO] [stdout] | [INFO] [stdout] 533 | &ID3D12Resource::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ID3D12Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Device2` [INFO] [stdout] --> src/d3d12/graphics.rs:412:18 [INFO] [stdout] | [INFO] [stdout] 412 | &ID3D12Device2::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ID3D12Device2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12CommandQueue` [INFO] [stdout] --> src/d3d12/graphics.rs:428:18 [INFO] [stdout] | [INFO] [stdout] 428 | &ID3D12CommandQueue::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12CommandQueue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12GraphicsCommandList1` [INFO] [stdout] --> src/d3d12/graphics.rs:570:18 [INFO] [stdout] | [INFO] [stdout] 570 | &ID3D12GraphicsCommandList1::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12GraphicsCommandList1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGISwapChain3` [INFO] [stdout] --> src/d3d12/graphics.rs:458:18 [INFO] [stdout] | [INFO] [stdout] 458 | &IDXGISwapChain3::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `IDXGISwapChain3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12CommandAllocator` [INFO] [stdout] --> src/d3d12/graphics.rs:473:22 [INFO] [stdout] | [INFO] [stdout] 473 | &ID3D12CommandAllocator::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12CommandAllocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Fence` [INFO] [stdout] --> src/d3d12/graphics.rs:582:18 [INFO] [stdout] | [INFO] [stdout] 582 | &ID3D12Fence::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ID3D12Fence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Resource` [INFO] [stdout] --> src/d3d12/graphics.rs:533:22 [INFO] [stdout] | [INFO] [stdout] 533 | &ID3D12Resource::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ID3D12Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Resource` [INFO] [stdout] --> src/d3d12/graphics.rs:698:18 [INFO] [stdout] | [INFO] [stdout] 698 | &ID3D12Resource::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ID3D12Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12RootSignature` [INFO] [stdout] --> src/d3d12/graphics.rs:777:18 [INFO] [stdout] | [INFO] [stdout] 777 | &ID3D12RootSignature::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12RootSignature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12GraphicsCommandList1` [INFO] [stdout] --> src/d3d12/graphics.rs:570:18 [INFO] [stdout] | [INFO] [stdout] 570 | &ID3D12GraphicsCommandList1::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12GraphicsCommandList1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12PipelineState` [INFO] [stdout] --> src/d3d12/graphics.rs:789:18 [INFO] [stdout] | [INFO] [stdout] 789 | &ID3D12PipelineState::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12PipelineState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12RootSignature` [INFO] [stdout] --> src/d3d12/graphics.rs:825:18 [INFO] [stdout] | [INFO] [stdout] 825 | &ID3D12RootSignature::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12RootSignature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Fence` [INFO] [stdout] --> src/d3d12/graphics.rs:582:18 [INFO] [stdout] | [INFO] [stdout] 582 | &ID3D12Fence::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ID3D12Fence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12PipelineState` [INFO] [stdout] --> src/d3d12/graphics.rs:837:18 [INFO] [stdout] | [INFO] [stdout] 837 | &ID3D12PipelineState::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12PipelineState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Resource` [INFO] [stdout] --> src/d3d12/graphics.rs:698:18 [INFO] [stdout] | [INFO] [stdout] 698 | &ID3D12Resource::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ID3D12Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12DescriptorHeap` [INFO] [stdout] --> src/d3d12/graphics.rs:1034:18 [INFO] [stdout] | [INFO] [stdout] 1034 | &ID3D12DescriptorHeap::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12RootSignature` [INFO] [stdout] --> src/d3d12/graphics.rs:777:18 [INFO] [stdout] | [INFO] [stdout] 777 | &ID3D12RootSignature::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12RootSignature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12PipelineState` [INFO] [stdout] --> src/d3d12/graphics.rs:789:18 [INFO] [stdout] | [INFO] [stdout] 789 | &ID3D12PipelineState::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12PipelineState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Resource` [INFO] [stdout] --> src/d3d12/graphics.rs:1196:18 [INFO] [stdout] | [INFO] [stdout] 1196 | &ID3D12Resource::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ID3D12Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12RootSignature` [INFO] [stdout] --> src/d3d12/graphics.rs:825:18 [INFO] [stdout] | [INFO] [stdout] 825 | &ID3D12RootSignature::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12RootSignature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12PipelineState` [INFO] [stdout] --> src/d3d12/graphics.rs:837:18 [INFO] [stdout] | [INFO] [stdout] 837 | &ID3D12PipelineState::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12PipelineState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12DescriptorHeap` [INFO] [stdout] --> src/d3d12/graphics.rs:1034:18 [INFO] [stdout] | [INFO] [stdout] 1034 | &ID3D12DescriptorHeap::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | start_counter: LARGE_INTEGER, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | frequency: LARGE_INTEGER, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/util.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | window: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/util.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | message: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/util.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | wparam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/util.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/util.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/util.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stdout] --> src/util.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | if wparam == VK_ESCAPE as usize { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/util.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope [INFO] [stdout] --> src/util.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | DefWindowProcA(window, message, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/util.rs:65:66 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn create_window(name: &CString, width: u32, height: u32) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetProcessDPIAware` in this scope [INFO] [stdout] --> src/util.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | SetProcessDPIAware(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSA` in this scope [INFO] [stdout] --> src/util.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | let mut winclass: WNDCLASSA = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope [INFO] [stdout] --> src/util.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | winclass.hInstance = GetModuleHandleA(ptr::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorA` in this scope [INFO] [stdout] --> src/util.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | winclass.hCursor = LoadCursorA(ptr::null_mut(), IDC_ARROW as LPCSTR); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/util.rs:72:57 [INFO] [stdout] | [INFO] [stdout] 72 | winclass.hCursor = LoadCursorA(ptr::null_mut(), IDC_ARROW as LPCSTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/util.rs:72:70 [INFO] [stdout] | [INFO] [stdout] 72 | winclass.hCursor = LoadCursorA(ptr::null_mut(), IDC_ARROW as LPCSTR); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassA` in this scope [INFO] [stdout] --> src/util.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | RegisterClassA(&winclass); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPED` in this scope [INFO] [stdout] --> src/util.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope [INFO] [stdout] --> src/util.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | let style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stdout] --> src/util.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | let style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope [INFO] [stdout] --> src/util.rs:77:59 [INFO] [stdout] | [INFO] [stdout] 77 | let style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/util.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | let mut rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustWindowRect` in this scope [INFO] [stdout] --> src/util.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | AdjustWindowRect(&mut rect, style, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope [INFO] [stdout] --> src/util.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | CreateWindowExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/util.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | style | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/util.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/util.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/util.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | let mut message: MSG = mem::zeroed(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageA` in this scope [INFO] [stdout] --> src/util.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | while PeekMessageA(&mut message, ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> src/util.rs:106:65 [INFO] [stdout] | [INFO] [stdout] 106 | while PeekMessageA(&mut message, ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageA` in this scope [INFO] [stdout] --> src/util.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | DispatchMessageA(&message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stdout] --> src/util.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | if message.message == WM_QUIT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | let mut start_counter: LARGE_INTEGER = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | let mut frequency: LARGE_INTEGER = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceCounter` in this scope [INFO] [stdout] --> src/util.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | QueryPerformanceCounter(&mut start_counter as *mut _ as *mut LARGE_INTEGER); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:121:74 [INFO] [stdout] | [INFO] [stdout] 121 | QueryPerformanceCounter(&mut start_counter as *mut _ as *mut LARGE_INTEGER); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceFrequency` in this scope [INFO] [stdout] --> src/util.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | QueryPerformanceFrequency(&mut frequency as *mut _ as *mut LARGE_INTEGER); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:122:72 [INFO] [stdout] | [INFO] [stdout] 122 | QueryPerformanceFrequency(&mut frequency as *mut _ as *mut LARGE_INTEGER); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/util.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn update(&mut self, window: HWND, name: &CString) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextA` in this scope [INFO] [stdout] --> src/util.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | SetWindowTextA(window, header.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | let mut counter: LARGE_INTEGER = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceCounter` in this scope [INFO] [stdout] --> src/util.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { QueryPerformanceCounter(&mut counter as *mut _ as *mut LARGE_INTEGER) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:166:73 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { QueryPerformanceCounter(&mut counter as *mut _ as *mut LARGE_INTEGER) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | pub window: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | cmdallocs: [WeakPtr; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain3` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 46 | swapchain: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Fence` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 53 | frame_fence: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | frame_fence_event: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 75 | struct ResourceState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 76 | ptr: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | state: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_FORMAT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | format: DXGI_FORMAT, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | ptr: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 82 | struct PipelineState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 83 | pso: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12RootSignature` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 82 | struct PipelineState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 83 | pso: WeakPtr, [INFO] [stdout] 84 | rsignature: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | pso: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12RootSignature` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | rsignature: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 98 | struct DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 99 | heap: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | cpu_base: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | gpu_base: D3D12_GPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 107 | struct GpuMemoryHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 108 | heap: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | gpu_base: D3D12_GPU_VIRTUAL_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | state_before: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | state_after: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_BARRIER` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | ) -> D3D12_RESOURCE_BARRIER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_BARRIER` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | let mut barrier: D3D12_RESOURCE_BARRIER = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_TYPE_TRANSITION` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | barrier.Type = D3D12_RESOURCE_BARRIER_TYPE_TRANSITION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_FLAG_NONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | barrier.Flags = D3D12_RESOURCE_FLAG_NONE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 136 | transition.Subresource = D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RASTERIZER_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn default() -> D3D12_RASTERIZER_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RASTERIZER_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | D3D12_RASTERIZER_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_FILL_MODE_SOLID` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | FillMode: D3D12_FILL_MODE_SOLID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_CULL_MODE_BACK` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 145 | CullMode: D3D12_CULL_MODE_BACK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEFAULT_DEPTH_BIAS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | DepthBias: D3D12_DEFAULT_DEPTH_BIAS as i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEFAULT_DEPTH_BIAS_CLAMP` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | DepthBiasClamp: D3D12_DEFAULT_DEPTH_BIAS_CLAMP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | SlopeScaledDepthBias: D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | ConservativeRaster: D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_BLEND_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn default() -> D3D12_BLEND_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RENDER_TARGET_BLEND_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | let rt_blend_desc = D3D12_RENDER_TARGET_BLEND_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_ONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:164:23 [INFO] [stdout] | [INFO] [stdout] 164 | SrcBlend: D3D12_BLEND_ONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_ZERO` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | DestBlend: D3D12_BLEND_ZERO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_OP_ADD` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | BlendOp: D3D12_BLEND_OP_ADD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_ONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:167:28 [INFO] [stdout] | [INFO] [stdout] 167 | SrcBlendAlpha: D3D12_BLEND_ONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_ZERO` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:168:29 [INFO] [stdout] | [INFO] [stdout] 168 | DestBlendAlpha: D3D12_BLEND_ZERO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_OP_ADD` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:169:27 [INFO] [stdout] | [INFO] [stdout] 169 | BlendOpAlpha: D3D12_BLEND_OP_ADD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_LOGIC_OP_NOOP` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 170 | LogicOp: D3D12_LOGIC_OP_NOOP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_BLEND_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | D3D12_BLEND_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn buffer(size: u64) -> D3D12_RESOURCE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | D3D12_RESOURCE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_DIMENSION_BUFFER` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | Dimension: D3D12_RESOURCE_DIMENSION_BUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | Format: DXGI_FORMAT_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | SampleDesc: DXGI_SAMPLE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_TEXTURE_LAYOUT_ROW_MAJOR` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | Layout: D3D12_TEXTURE_LAYOUT_ROW_MAJOR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_FLAG_NONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:205:20 [INFO] [stdout] | [INFO] [stdout] 205 | Flags: D3D12_RESOURCE_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_DEPTH_STENCIL_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn default() -> D3D12_DEPTH_STENCIL_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_DEPTH_STENCILOP_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | let ds_op_desc = D3D12_DEPTH_STENCILOP_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_STENCIL_OP_KEEP` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:213:28 [INFO] [stdout] | [INFO] [stdout] 213 | StencilFailOp: D3D12_STENCIL_OP_KEEP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_STENCIL_OP_KEEP` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:214:33 [INFO] [stdout] | [INFO] [stdout] 214 | StencilDepthFailOp: D3D12_STENCIL_OP_KEEP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_STENCIL_OP_KEEP` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:215:28 [INFO] [stdout] | [INFO] [stdout] 215 | StencilPassOp: D3D12_STENCIL_OP_KEEP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMPARISON_FUNC_ALWAYS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | StencilFunc: D3D12_COMPARISON_FUNC_ALWAYS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_DEPTH_STENCIL_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | D3D12_DEPTH_STENCIL_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEPTH_WRITE_MASK_ALL` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | DepthWriteMask: D3D12_DEPTH_WRITE_MASK_ALL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMPARISON_FUNC_LESS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:221:24 [INFO] [stdout] | [INFO] [stdout] 221 | DepthFunc: D3D12_COMPARISON_FUNC_LESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEFAULT_STENCIL_READ_MASK` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:223:30 [INFO] [stdout] | [INFO] [stdout] 223 | StencilReadMask: D3D12_DEFAULT_STENCIL_READ_MASK as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEFAULT_STENCIL_WRITE_MASK` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:224:31 [INFO] [stdout] | [INFO] [stdout] 224 | StencilWriteMask: D3D12_DEFAULT_STENCIL_WRITE_MASK as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_HEAP_TYPE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:232:27 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn new(heap_type: D3D12_HEAP_TYPE) -> D3D12_HEAP_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_HEAP_PROPERTIES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:232:47 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn new(heap_type: D3D12_HEAP_TYPE) -> D3D12_HEAP_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_HEAP_PROPERTIES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | D3D12_HEAP_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_CPU_PAGE_PROPERTY_UNKNOWN` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:235:30 [INFO] [stdout] | [INFO] [stdout] 235 | CPUPageProperty: D3D12_CPU_PAGE_PROPERTY_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MEMORY_POOL_UNKNOWN` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:236:35 [INFO] [stdout] | [INFO] [stdout] 236 | MemoryPoolPreference: D3D12_MEMORY_POOL_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_FORMAT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn new(name: &CString, format: DXGI_FORMAT, offset: u32) -> D3D12_INPUT_ELEMENT_DESC { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:244:69 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn new(name: &CString, format: DXGI_FORMAT, offset: u32) -> D3D12_INPUT_ELEMENT_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | D3D12_INPUT_ELEMENT_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | InputSlotClass: D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_COMMON` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | state: D3D12_RESOURCE_STATE_COMMON, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | format: DXGI_FORMAT_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:295:27 [INFO] [stdout] | [INFO] [stdout] 278 | impl ResourcePool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 295 | resource: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:296:24 [INFO] [stdout] | [INFO] [stdout] 296 | initial_state: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_FORMAT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | format: DXGI_FORMAT, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:342:22 [INFO] [stdout] | [INFO] [stdout] 82 | struct PipelineState { [INFO] [stdout] | -------------------- similarly named struct `PipelineState` defined here [INFO] [stdout] ... [INFO] [stdout] 342 | pso: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 342 | pso: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 322 | impl PipelinePool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12RootSignature` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:343:29 [INFO] [stdout] | [INFO] [stdout] 322 | impl PipelinePool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 343 | rsignature: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:368:24 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn new(window: HWND) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory4` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:371:36 [INFO] [stdout] | [INFO] [stdout] 371 | let mut rfactory: *mut IDXGIFactory4 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDXGIFactory2` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:372:18 [INFO] [stdout] | [INFO] [stdout] 372 | vhr!(CreateDXGIFactory2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_CREATE_FACTORY_DEBUG` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | DXGI_CREATE_FACTORY_DEBUG, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Debug` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:383:32 [INFO] [stdout] | [INFO] [stdout] 383 | let mut rdbg: *mut ID3D12Debug = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12GetDebugInterface` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | D3D12GetDebugInterface( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Debug1` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:392:37 [INFO] [stdout] | [INFO] [stdout] 392 | let mut rdbg1: *mut ID3D12Debug1 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:408:35 [INFO] [stdout] | [INFO] [stdout] 408 | let mut rdevice: *mut ID3D12Device2 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12CreateDevice` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | vhr!(D3D12CreateDevice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_1` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:411:17 [INFO] [stdout] | [INFO] [stdout] 411 | D3D_FEATURE_LEVEL_11_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:420:37 [INFO] [stdout] | [INFO] [stdout] 420 | let mut rcmdqueue: *mut ID3D12CommandQueue = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `CommandQueue` [INFO] [stdout] | [INFO] [stdout] ::: src/d3d12/wrappers.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub type CommandQueue = WeakPtr; [INFO] [stdout] | ---------------------------------------------------- similarly named type alias `CommandQueue` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_COMMAND_QUEUE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:422:18 [INFO] [stdout] | [INFO] [stdout] 422 | &D3D12_COMMAND_QUEUE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMMAND_QUEUE_FLAG_NONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:423:28 [INFO] [stdout] | [INFO] [stdout] 423 | Flags: D3D12_COMMAND_QUEUE_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMMAND_QUEUE_PRIORITY_NORMAL` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:424:31 [INFO] [stdout] | [INFO] [stdout] 424 | Priority: D3D12_COMMAND_QUEUE_PRIORITY_NORMAL as i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:425:27 [INFO] [stdout] | [INFO] [stdout] 425 | Type: D3D12_COMMAND_LIST_TYPE_DIRECT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_SWAP_CHAIN_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:437:31 [INFO] [stdout] | [INFO] [stdout] 437 | let mut desc: DXGI_SWAP_CHAIN_DESC = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:439:42 [INFO] [stdout] | [INFO] [stdout] 439 | desc.BufferDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_USAGE_RENDER_TARGET_OUTPUT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:440:36 [INFO] [stdout] | [INFO] [stdout] 440 | desc.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_FLIP_DISCARD` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:443:35 [INFO] [stdout] | [INFO] [stdout] 443 | desc.SwapEffect = DXGI_SWAP_EFFECT_FLIP_DISCARD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:446:43 [INFO] [stdout] | [INFO] [stdout] 446 | let mut rswapchain1: *mut IDXGISwapChain = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:448:57 [INFO] [stdout] | [INFO] [stdout] 448 | cmdqueue.as_raw() as *mut _ as *mut IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain3` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:456:39 [INFO] [stdout] | [INFO] [stdout] 456 | let mut rswapchain3: *mut IDXGISwapChain3 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:467:39 [INFO] [stdout] | [INFO] [stdout] 467 | let mut rcmdallocs: [*mut ID3D12CommandAllocator; 2] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:472:21 [INFO] [stdout] | [INFO] [stdout] 472 | D3D12_COMMAND_LIST_TYPE_DIRECT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_RTV` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:487:13 [INFO] [stdout] | [INFO] [stdout] 487 | D3D12_DESCRIPTOR_HEAP_TYPE_RTV, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_NONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:488:13 [INFO] [stdout] | [INFO] [stdout] 488 | D3D12_DESCRIPTOR_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_DSV` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | D3D12_DESCRIPTOR_HEAP_TYPE_DSV, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_NONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | D3D12_DESCRIPTOR_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:499:13 [INFO] [stdout] | [INFO] [stdout] 499 | D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_NONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | D3D12_DESCRIPTOR_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:506:17 [INFO] [stdout] | [INFO] [stdout] 506 | D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:507:17 [INFO] [stdout] | [INFO] [stdout] 507 | D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:512:17 [INFO] [stdout] | [INFO] [stdout] 512 | D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_HEAP_TYPE_UPLOAD` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:519:51 [INFO] [stdout] | [INFO] [stdout] 519 | GpuMemoryHeap::new(device, 32 * 1024, D3D12_HEAP_TYPE_UPLOAD), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_HEAP_TYPE_UPLOAD` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:520:51 [INFO] [stdout] | [INFO] [stdout] 520 | GpuMemoryHeap::new(device, 32 * 1024, D3D12_HEAP_TYPE_UPLOAD), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:527:37 [INFO] [stdout] | [INFO] [stdout] 527 | let mut rbuffers: [*mut ID3D12Resource; 4] = [ptr::null_mut(); 4]; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:542:21 [INFO] [stdout] | [INFO] [stdout] 542 | D3D12_RESOURCE_STATE_PRESENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:543:21 [INFO] [stdout] | [INFO] [stdout] 543 | DXGI_FORMAT_R8G8B8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:547:21 [INFO] [stdout] | [INFO] [stdout] 547 | D3D12_RESOURCE_STATE_PRESENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:548:21 [INFO] [stdout] | [INFO] [stdout] 548 | DXGI_FORMAT_R8G8B8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:552:21 [INFO] [stdout] | [INFO] [stdout] 552 | D3D12_RESOURCE_STATE_PRESENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | DXGI_FORMAT_R8G8B8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:557:21 [INFO] [stdout] | [INFO] [stdout] 557 | D3D12_RESOURCE_STATE_PRESENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:558:21 [INFO] [stdout] | [INFO] [stdout] 558 | DXGI_FORMAT_R8G8B8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList1` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:564:36 [INFO] [stdout] | [INFO] [stdout] 564 | let mut rcmdlist: *mut ID3D12GraphicsCommandList1 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `GraphicsCommandList` [INFO] [stdout] | [INFO] [stdout] ::: src/d3d12/wrappers.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub type GraphicsCommandList = WeakPtr; [INFO] [stdout] | ------------------------------------------------------------------- similarly named type alias `GraphicsCommandList` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:567:17 [INFO] [stdout] | [INFO] [stdout] 567 | D3D12_COMMAND_LIST_TYPE_DIRECT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Fence` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:578:34 [INFO] [stdout] | [INFO] [stdout] 578 | let mut rfence: *mut ID3D12Fence = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_FENCE_FLAG_NONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:581:17 [INFO] [stdout] | [INFO] [stdout] 581 | D3D12_FENCE_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEventExA` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:589:22 [INFO] [stdout] | [INFO] [stdout] 589 | unsafe { CreateEventExA(ptr::null_mut(), ptr::null(), 0, EVENT_ALL_ACCESS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_ALL_ACCESS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:589:70 [INFO] [stdout] | [INFO] [stdout] 589 | unsafe { CreateEventExA(ptr::null_mut(), ptr::null(), 0, EVENT_ALL_ACCESS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:611:31 [INFO] [stdout] | [INFO] [stdout] 611 | let mut rect: RECT = mem::zeroed(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:612:17 [INFO] [stdout] | [INFO] [stdout] 612 | GetClientRect(window, &mut rect as *mut RECT); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:612:57 [INFO] [stdout] | [INFO] [stdout] 612 | GetClientRect(window, &mut rect as *mut RECT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:639:18 [INFO] [stdout] | [INFO] [stdout] 639 | unsafe { CloseHandle(self.frame_fence_event) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:661:63 [INFO] [stdout] | [INFO] [stdout] 367 | impl Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 661 | pub fn resource(&self, handle: ResourceHandle) -> WeakPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_HEAP_TYPE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:680:20 [INFO] [stdout] | [INFO] [stdout] 680 | heap_type: D3D12_HEAP_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_HEAP_FLAGS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:681:21 [INFO] [stdout] | [INFO] [stdout] 681 | heap_flags: D3D12_HEAP_FLAGS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:682:16 [INFO] [stdout] | [INFO] [stdout] 682 | desc: &D3D12_RESOURCE_DESC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:683:24 [INFO] [stdout] | [INFO] [stdout] 683 | initial_state: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CLEAR_VALUE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:684:30 [INFO] [stdout] | [INFO] [stdout] 367 | impl Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 684 | clear_value: Option<&D3D12_CLEAR_VALUE>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:687:40 [INFO] [stdout] | [INFO] [stdout] 687 | let mut resource_raw: *mut ID3D12Resource = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_COMMON` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:712:26 [INFO] [stdout] | [INFO] [stdout] 712 | resource.state = D3D12_RESOURCE_STATE_COMMON; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:713:27 [INFO] [stdout] | [INFO] [stdout] 713 | resource.format = DXGI_FORMAT_UNKNOWN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:719:22 [INFO] [stdout] | [INFO] [stdout] 719 | state_after: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GRAPHICS_PIPELINE_STATE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:748:24 [INFO] [stdout] | [INFO] [stdout] 748 | pso_desc: &mut D3D12_GRAPHICS_PIPELINE_STATE_DESC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:755:23 [INFO] [stdout] | [INFO] [stdout] 755 | pso_desc.VS = D3D12_SHADER_BYTECODE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:759:23 [INFO] [stdout] | [INFO] [stdout] 759 | pso_desc.PS = D3D12_SHADER_BYTECODE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12RootSignature` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:772:42 [INFO] [stdout] | [INFO] [stdout] 772 | let mut rsignature_raw: *mut ID3D12RootSignature = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:786:35 [INFO] [stdout] | [INFO] [stdout] 82 | struct PipelineState { [INFO] [stdout] | -------------------- similarly named struct `PipelineState` defined here [INFO] [stdout] ... [INFO] [stdout] 786 | let mut pso_raw: *mut ID3D12PipelineState = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `PipelineState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_COMPUTE_PIPELINE_STATE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:802:24 [INFO] [stdout] | [INFO] [stdout] 802 | pso_desc: &mut D3D12_COMPUTE_PIPELINE_STATE_DESC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:807:23 [INFO] [stdout] | [INFO] [stdout] 807 | pso_desc.CS = D3D12_SHADER_BYTECODE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12RootSignature` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:820:42 [INFO] [stdout] | [INFO] [stdout] 820 | let mut rsignature_raw: *mut ID3D12RootSignature = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:834:35 [INFO] [stdout] | [INFO] [stdout] 82 | struct PipelineState { [INFO] [stdout] | -------------------- similarly named struct `PipelineState` defined here [INFO] [stdout] ... [INFO] [stdout] 834 | let mut pso_raw: *mut ID3D12PipelineState = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `PipelineState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_TYPE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:870:20 [INFO] [stdout] | [INFO] [stdout] 870 | heap_type: D3D12_DESCRIPTOR_HEAP_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:872:10 [INFO] [stdout] | [INFO] [stdout] 872 | ) -> D3D12_CPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:881:17 [INFO] [stdout] | [INFO] [stdout] 881 | D3D12_CPU_DESCRIPTOR_HANDLE { ptr: 0 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:889:11 [INFO] [stdout] | [INFO] [stdout] 889 | ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:889:40 [INFO] [stdout] | [INFO] [stdout] 889 | ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:896:24 [INFO] [stdout] | [INFO] [stdout] 896 | ) -> (*mut c_void, D3D12_GPU_VIRTUAL_ADDRESS) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:916:32 [INFO] [stdout] | [INFO] [stdout] 367 | impl Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 916 | ) -> (*mut c_void, WeakPtr, u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:932:23 [INFO] [stdout] | [INFO] [stdout] 932 | src_cpu_base: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:933:10 [INFO] [stdout] | [INFO] [stdout] 933 | ) -> D3D12_GPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:940:17 [INFO] [stdout] | [INFO] [stdout] 940 | D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:966:17 [INFO] [stdout] | [INFO] [stdout] 966 | WaitForSingleObject(self.frame_fence_event, INFINITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:966:61 [INFO] [stdout] | [INFO] [stdout] 966 | WaitForSingleObject(self.frame_fence_event, INFINITE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:985:34 [INFO] [stdout] | [INFO] [stdout] 98 | struct DescriptorHeap { [INFO] [stdout] | --------------------- similarly named struct `DescriptorHeap` defined here [INFO] [stdout] ... [INFO] [stdout] 985 | as *mut *mut ID3D12DescriptorHeap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1002:13 [INFO] [stdout] | [INFO] [stdout] 1002 | WaitForSingleObject(self.frame_fence_event, INFINITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1002:57 [INFO] [stdout] | [INFO] [stdout] 1002 | WaitForSingleObject(self.frame_fence_event, INFINITE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1009:51 [INFO] [stdout] | [INFO] [stdout] 1009 | pub fn back_buffer(&self) -> (ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1011:22 [INFO] [stdout] | [INFO] [stdout] 1011 | let handle = D3D12_CPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1020:25 [INFO] [stdout] | [INFO] [stdout] 1018 | impl DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 1019 | fn new( [INFO] [stdout] 1020 | device: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_TYPE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1022:16 [INFO] [stdout] | [INFO] [stdout] 1022 | htype: D3D12_DESCRIPTOR_HEAP_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_FLAGS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1023:16 [INFO] [stdout] | [INFO] [stdout] 1023 | flags: D3D12_DESCRIPTOR_HEAP_FLAGS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1026:33 [INFO] [stdout] | [INFO] [stdout] 98 | struct DescriptorHeap { [INFO] [stdout] | --------------------- similarly named struct `DescriptorHeap` defined here [INFO] [stdout] ... [INFO] [stdout] 1026 | let mut rheap: *mut ID3D12DescriptorHeap = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_DESCRIPTOR_HEAP_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1028:18 [INFO] [stdout] | [INFO] [stdout] 1028 | &D3D12_DESCRIPTOR_HEAP_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1042:29 [INFO] [stdout] | [INFO] [stdout] 1042 | if flags == D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1045:21 [INFO] [stdout] | [INFO] [stdout] 1045 | D3D12_GPU_DESCRIPTOR_HANDLE { ptr: 0 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1059:57 [INFO] [stdout] | [INFO] [stdout] 1059 | fn allocate_cpu_descriptors(&mut self, num: u32) -> D3D12_CPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1064:22 [INFO] [stdout] | [INFO] [stdout] 1064 | let handle = D3D12_CPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1075:11 [INFO] [stdout] | [INFO] [stdout] 1075 | ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1075:40 [INFO] [stdout] | [INFO] [stdout] 1075 | ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1080:26 [INFO] [stdout] | [INFO] [stdout] 1080 | let cpu_handle = D3D12_CPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | let gpu_handle = D3D12_GPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GRAPHICS_PIPELINE_STATE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1092:39 [INFO] [stdout] | [INFO] [stdout] 1092 | fn calc_graphics_pipeline_hash(desc: &D3D12_GRAPHICS_PIPELINE_STATE_DESC) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_COMPUTE_PIPELINE_STATE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1175:38 [INFO] [stdout] | [INFO] [stdout] 1175 | fn calc_compute_pipeline_hash(desc: &D3D12_COMPUTE_PIPELINE_STATE_DESC) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1184:28 [INFO] [stdout] | [INFO] [stdout] 1183 | impl GpuMemoryHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 1184 | fn new(device: WeakPtr, capacity: u32, heap_type: D3D12_HEAP_TYPE) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_HEAP_TYPE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1184:70 [INFO] [stdout] | [INFO] [stdout] 1184 | fn new(device: WeakPtr, capacity: u32, heap_type: D3D12_HEAP_TYPE) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_HEAP_TYPE_UPLOAD` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1186:30 [INFO] [stdout] | [INFO] [stdout] 1186 | assert!(heap_type == D3D12_HEAP_TYPE_UPLOAD); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1189:36 [INFO] [stdout] | [INFO] [stdout] 1189 | let mut heap_raw: *mut ID3D12Resource = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_HEAP_FLAG_NONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1192:17 [INFO] [stdout] | [INFO] [stdout] 1192 | D3D12_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_GENERIC_READ` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1194:17 [INFO] [stdout] | [INFO] [stdout] 1194 | D3D12_RESOURCE_STATE_GENERIC_READ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RANGE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1205:14 [INFO] [stdout] | [INFO] [stdout] 1205 | &D3D12_RANGE { Begin: 0, End: 0 }, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1220:60 [INFO] [stdout] | [INFO] [stdout] 1220 | fn allocate(&mut self, mut size: u32) -> (*mut c_void, D3D12_GPU_VIRTUAL_ADDRESS) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | refcount = (&*(self.0 as *mut _ as *mut IUnknown)).Release(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | pub type Device = WeakPtr; [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | pub type CommandQueue = WeakPtr; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList1` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | pub type GraphicsCommandList = WeakPtr; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub type Resource = WeakPtr; [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 70 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 75 | desc: Option<&D3D12_SHADER_RESOURCE_VIEW_DESC>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Resource` [INFO] [stdout] --> src/d3d12/graphics.rs:1196:18 [INFO] [stdout] | [INFO] [stdout] 1196 | &ID3D12Resource::uuidof(), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ID3D12Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_VIEWPORT` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn rs_set_viewports(&self, viewports: &[D3D12_VIEWPORT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RECT` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:97:49 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn rs_set_scissor_rects(&self, rects: &[D3D12_RECT]) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:104:35 [INFO] [stdout] | [INFO] [stdout] 104 | render_target_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 90 | impl GraphicsCommandList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 105 | depth_stencil_descriptor: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | render_target_view: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RECT` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | rects: &[D3D12_RECT], [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_VERTEX_BUFFER_VIEW` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:158:67 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn ia_set_vertex_buffers(&self, start_slot: u32, views: &[D3D12_VERTEX_BUFFER_VIEW]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_PRIMITIVE_TOPOLOGY` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:166:65 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn ia_set_primitive_topology(&self, primitive_topology: D3D12_PRIMITIVE_TOPOLOGY) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | buffer_location: D3D12_GPU_VIRTUAL_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:201:26 [INFO] [stdout] | [INFO] [stdout] 201 | base_descriptor: D3D12_GPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:242:28 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn close(&self) -> HRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:251:46 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn get_gpu_virtual_address(&self) -> D3D12_GPU_VIRTUAL_ADDRESS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandList` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:258:63 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn execute_command_lists(&self, command_lists: &[*mut ID3D12CommandList]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | vertex_buffer_srv: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | index_buffer_srv: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | transform_buffer_srv: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_GRAPHICS_PIPELINE_STATE_DESC` in this scope [INFO] [stdout] --> src/main.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | &mut D3D12_GRAPHICS_PIPELINE_STATE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/main.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | RTVFormats: [DXGI_FORMAT_R8G8B8A8_UNORM, 0, 0, 0, 0, 0, 0, 0], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/main.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | SampleDesc: DXGI_SAMPLE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE` in this scope [INFO] [stdout] --> src/main.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | PrimitiveTopologyType: D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | ) -> (d3d12::ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope [INFO] [stdout] --> src/main.rs:136:55 [INFO] [stdout] | [INFO] [stdout] 136 | let buffer_srv = d3d.allocate_cpu_descriptors(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope [INFO] [stdout] --> src/main.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | Some(&D3D12_SHADER_RESOURCE_VIEW_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stdout] --> src/main.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | Format: DXGI_FORMAT_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_SRV_DIMENSION_BUFFER` in this scope [INFO] [stdout] --> src/main.rs:142:32 [INFO] [stdout] | [INFO] [stdout] 142 | ViewDimension: D3D12_SRV_DIMENSION_BUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC_u` in this scope [INFO] [stdout] --> src/main.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | let mut u: D3D12_SHADER_RESOURCE_VIEW_DESC_u = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:159:34 [INFO] [stdout] | [INFO] [stdout] 159 | ) -> (d3d12::ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope [INFO] [stdout] --> src/main.rs:168:55 [INFO] [stdout] | [INFO] [stdout] 168 | let buffer_srv = d3d.allocate_cpu_descriptors(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope [INFO] [stdout] --> src/main.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | Some(&D3D12_SHADER_RESOURCE_VIEW_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R32_UINT` in this scope [INFO] [stdout] --> src/main.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | Format: DXGI_FORMAT_R32_UINT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_SRV_DIMENSION_BUFFER` in this scope [INFO] [stdout] --> src/main.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | ViewDimension: D3D12_SRV_DIMENSION_BUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC_u` in this scope [INFO] [stdout] --> src/main.rs:177:32 [INFO] [stdout] | [INFO] [stdout] 177 | let mut u: D3D12_SHADER_RESOURCE_VIEW_DESC_u = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:190:34 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> (d3d12::ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope [INFO] [stdout] --> src/main.rs:202:55 [INFO] [stdout] | [INFO] [stdout] 202 | let buffer_srv = d3d.allocate_cpu_descriptors(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope [INFO] [stdout] --> src/main.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | Some(&D3D12_SHADER_RESOURCE_VIEW_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stdout] --> src/main.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | Format: DXGI_FORMAT_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_SRV_DIMENSION_BUFFER` in this scope [INFO] [stdout] --> src/main.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | ViewDimension: D3D12_SRV_DIMENSION_BUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC_u` in this scope [INFO] [stdout] --> src/main.rs:211:32 [INFO] [stdout] | [INFO] [stdout] 211 | let mut u: D3D12_SHADER_RESOURCE_VIEW_DESC_u = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_HEAP_TYPE_DEFAULT` in this scope [INFO] [stdout] --> src/main.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | D3D12_HEAP_TYPE_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_HEAP_FLAG_NONE` in this scope [INFO] [stdout] --> src/main.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | D3D12_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_COPY_DEST` in this scope [INFO] [stdout] --> src/main.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | D3D12_RESOURCE_STATE_COPY_DEST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE` in this scope [INFO] [stdout] --> src/main.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_VIEWPORT` in this scope [INFO] [stdout] --> src/main.rs:258:36 [INFO] [stdout] | [INFO] [stdout] 258 | cmdlist.rs_set_viewports(&[D3D12_VIEWPORT { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RECT` in this scope [INFO] [stdout] --> src/main.rs:266:40 [INFO] [stdout] | [INFO] [stdout] 266 | cmdlist.rs_set_scissor_rects(&[D3D12_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_RENDER_TARGET` in this scope [INFO] [stdout] --> src/main.rs:272:49 [INFO] [stdout] | [INFO] [stdout] 272 | d3d.cmd_transition_barrier(back_buffer, D3D12_RESOURCE_STATE_RENDER_TARGET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST` in this scope [INFO] [stdout] --> src/main.rs:275:43 [INFO] [stdout] | [INFO] [stdout] 275 | cmdlist.ia_set_primitive_topology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope [INFO] [stdout] --> src/main.rs:291:49 [INFO] [stdout] | [INFO] [stdout] 291 | d3d.cmd_transition_barrier(back_buffer, D3D12_RESOURCE_STATE_PRESENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/d3d12/graphics.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 339 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_d3d12_test1` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | start_counter: LARGE_INTEGER, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | frequency: LARGE_INTEGER, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/util.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | window: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/util.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | message: UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/util.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | wparam: WPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/util.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | lparam: LPARAM, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LRESULT` in this scope [INFO] [stdout] --> src/util.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | ) -> LRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/util.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `VK_ESCAPE` in this scope [INFO] [stdout] --> src/util.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | if wparam == VK_ESCAPE as usize { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PostQuitMessage` in this scope [INFO] [stdout] --> src/util.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | PostQuitMessage(0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DefWindowProcA` in this scope [INFO] [stdout] --> src/util.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | DefWindowProcA(window, message, wparam, lparam) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/util.rs:65:66 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn create_window(name: &CString, width: u32, height: u32) -> HWND { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetProcessDPIAware` in this scope [INFO] [stdout] --> src/util.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | SetProcessDPIAware(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WNDCLASSA` in this scope [INFO] [stdout] --> src/util.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | let mut winclass: WNDCLASSA = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope [INFO] [stdout] --> src/util.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | winclass.hInstance = GetModuleHandleA(ptr::null()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadCursorA` in this scope [INFO] [stdout] --> src/util.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | winclass.hCursor = LoadCursorA(ptr::null_mut(), IDC_ARROW as LPCSTR); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IDC_ARROW` in this scope [INFO] [stdout] --> src/util.rs:72:57 [INFO] [stdout] | [INFO] [stdout] 72 | winclass.hCursor = LoadCursorA(ptr::null_mut(), IDC_ARROW as LPCSTR); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCSTR` in this scope [INFO] [stdout] --> src/util.rs:72:70 [INFO] [stdout] | [INFO] [stdout] 72 | winclass.hCursor = LoadCursorA(ptr::null_mut(), IDC_ARROW as LPCSTR); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterClassA` in this scope [INFO] [stdout] --> src/util.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | RegisterClassA(&winclass); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_OVERLAPPED` in this scope [INFO] [stdout] --> src/util.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_SYSMENU` in this scope [INFO] [stdout] --> src/util.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 77 | let style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_CAPTION` in this scope [INFO] [stdout] --> src/util.rs:77:46 [INFO] [stdout] | [INFO] [stdout] 77 | let style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_MINIMIZEBOX` in this scope [INFO] [stdout] --> src/util.rs:77:59 [INFO] [stdout] | [INFO] [stdout] 77 | let style = WS_OVERLAPPED | WS_SYSMENU | WS_CAPTION | WS_MINIMIZEBOX; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope [INFO] [stdout] --> src/util.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | let mut rect = RECT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustWindowRect` in this scope [INFO] [stdout] --> src/util.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | AdjustWindowRect(&mut rect, style, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateWindowExA` in this scope [INFO] [stdout] --> src/util.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | CreateWindowExA( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WS_VISIBLE` in this scope [INFO] [stdout] --> src/util.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | style | WS_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/util.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope [INFO] [stdout] --> src/util.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | CW_USEDEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/util.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | let mut message: MSG = mem::zeroed(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PeekMessageA` in this scope [INFO] [stdout] --> src/util.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | while PeekMessageA(&mut message, ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PM_REMOVE` in this scope [INFO] [stdout] --> src/util.rs:106:65 [INFO] [stdout] | [INFO] [stdout] 106 | while PeekMessageA(&mut message, ptr::null_mut(), 0, 0, PM_REMOVE) != 0 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageA` in this scope [INFO] [stdout] --> src/util.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | DispatchMessageA(&message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WM_QUIT` in this scope [INFO] [stdout] --> src/util.rs:108:35 [INFO] [stdout] | [INFO] [stdout] 108 | if message.message == WM_QUIT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | let mut start_counter: LARGE_INTEGER = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | let mut frequency: LARGE_INTEGER = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceCounter` in this scope [INFO] [stdout] --> src/util.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | QueryPerformanceCounter(&mut start_counter as *mut _ as *mut LARGE_INTEGER); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:121:74 [INFO] [stdout] | [INFO] [stdout] 121 | QueryPerformanceCounter(&mut start_counter as *mut _ as *mut LARGE_INTEGER); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceFrequency` in this scope [INFO] [stdout] --> src/util.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | QueryPerformanceFrequency(&mut frequency as *mut _ as *mut LARGE_INTEGER); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:122:72 [INFO] [stdout] | [INFO] [stdout] 122 | QueryPerformanceFrequency(&mut frequency as *mut _ as *mut LARGE_INTEGER); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/util.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn update(&mut self, window: HWND, name: &CString) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetWindowTextA` in this scope [INFO] [stdout] --> src/util.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | SetWindowTextA(window, header.as_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | let mut counter: LARGE_INTEGER = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryPerformanceCounter` in this scope [INFO] [stdout] --> src/util.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { QueryPerformanceCounter(&mut counter as *mut _ as *mut LARGE_INTEGER) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/util.rs:166:73 [INFO] [stdout] | [INFO] [stdout] 166 | unsafe { QueryPerformanceCounter(&mut counter as *mut _ as *mut LARGE_INTEGER) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | pub window: HWND, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | cmdallocs: [WeakPtr; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain3` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 46 | swapchain: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Fence` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 53 | frame_fence: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | frame_fence_event: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 75 | struct ResourceState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 76 | ptr: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | state: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_FORMAT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | format: DXGI_FORMAT, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | ptr: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 82 | struct PipelineState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 83 | pso: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12RootSignature` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 82 | struct PipelineState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 83 | pso: WeakPtr, [INFO] [stdout] 84 | rsignature: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | pso: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12RootSignature` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | rsignature: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 98 | struct DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 99 | heap: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | cpu_base: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | gpu_base: D3D12_GPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 107 | struct GpuMemoryHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 108 | heap: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | gpu_base: D3D12_GPU_VIRTUAL_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | state_before: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | state_after: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_BARRIER` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | ) -> D3D12_RESOURCE_BARRIER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_BARRIER` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:129:26 [INFO] [stdout] | [INFO] [stdout] 129 | let mut barrier: D3D12_RESOURCE_BARRIER = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_TYPE_TRANSITION` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:130:24 [INFO] [stdout] | [INFO] [stdout] 130 | barrier.Type = D3D12_RESOURCE_BARRIER_TYPE_TRANSITION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_FLAG_NONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | barrier.Flags = D3D12_RESOURCE_FLAG_NONE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 136 | transition.Subresource = D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RASTERIZER_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn default() -> D3D12_RASTERIZER_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RASTERIZER_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | D3D12_RASTERIZER_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_FILL_MODE_SOLID` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | FillMode: D3D12_FILL_MODE_SOLID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_CULL_MODE_BACK` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 145 | CullMode: D3D12_CULL_MODE_BACK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEFAULT_DEPTH_BIAS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:147:24 [INFO] [stdout] | [INFO] [stdout] 147 | DepthBias: D3D12_DEFAULT_DEPTH_BIAS as i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEFAULT_DEPTH_BIAS_CLAMP` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | DepthBiasClamp: D3D12_DEFAULT_DEPTH_BIAS_CLAMP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | SlopeScaledDepthBias: D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:154:33 [INFO] [stdout] | [INFO] [stdout] 154 | ConservativeRaster: D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_BLEND_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn default() -> D3D12_BLEND_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RENDER_TARGET_BLEND_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:161:29 [INFO] [stdout] | [INFO] [stdout] 161 | let rt_blend_desc = D3D12_RENDER_TARGET_BLEND_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_ONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:164:23 [INFO] [stdout] | [INFO] [stdout] 164 | SrcBlend: D3D12_BLEND_ONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_ZERO` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | DestBlend: D3D12_BLEND_ZERO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_OP_ADD` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 166 | BlendOp: D3D12_BLEND_OP_ADD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_ONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:167:28 [INFO] [stdout] | [INFO] [stdout] 167 | SrcBlendAlpha: D3D12_BLEND_ONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_ZERO` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:168:29 [INFO] [stdout] | [INFO] [stdout] 168 | DestBlendAlpha: D3D12_BLEND_ZERO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_OP_ADD` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:169:27 [INFO] [stdout] | [INFO] [stdout] 169 | BlendOpAlpha: D3D12_BLEND_OP_ADD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_LOGIC_OP_NOOP` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 170 | LogicOp: D3D12_LOGIC_OP_NOOP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_BLEND_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | D3D12_BLEND_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn buffer(size: u64) -> D3D12_RESOURCE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | D3D12_RESOURCE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_DIMENSION_BUFFER` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | Dimension: D3D12_RESOURCE_DIMENSION_BUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | Format: DXGI_FORMAT_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | SampleDesc: DXGI_SAMPLE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_TEXTURE_LAYOUT_ROW_MAJOR` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:204:21 [INFO] [stdout] | [INFO] [stdout] 204 | Layout: D3D12_TEXTURE_LAYOUT_ROW_MAJOR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_FLAG_NONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:205:20 [INFO] [stdout] | [INFO] [stdout] 205 | Flags: D3D12_RESOURCE_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_DEPTH_STENCIL_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn default() -> D3D12_DEPTH_STENCIL_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_DEPTH_STENCILOP_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | let ds_op_desc = D3D12_DEPTH_STENCILOP_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_STENCIL_OP_KEEP` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:213:28 [INFO] [stdout] | [INFO] [stdout] 213 | StencilFailOp: D3D12_STENCIL_OP_KEEP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_STENCIL_OP_KEEP` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:214:33 [INFO] [stdout] | [INFO] [stdout] 214 | StencilDepthFailOp: D3D12_STENCIL_OP_KEEP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_STENCIL_OP_KEEP` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:215:28 [INFO] [stdout] | [INFO] [stdout] 215 | StencilPassOp: D3D12_STENCIL_OP_KEEP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMPARISON_FUNC_ALWAYS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | StencilFunc: D3D12_COMPARISON_FUNC_ALWAYS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_DEPTH_STENCIL_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | D3D12_DEPTH_STENCIL_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEPTH_WRITE_MASK_ALL` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:220:29 [INFO] [stdout] | [INFO] [stdout] 220 | DepthWriteMask: D3D12_DEPTH_WRITE_MASK_ALL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMPARISON_FUNC_LESS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:221:24 [INFO] [stdout] | [INFO] [stdout] 221 | DepthFunc: D3D12_COMPARISON_FUNC_LESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEFAULT_STENCIL_READ_MASK` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:223:30 [INFO] [stdout] | [INFO] [stdout] 223 | StencilReadMask: D3D12_DEFAULT_STENCIL_READ_MASK as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEFAULT_STENCIL_WRITE_MASK` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:224:31 [INFO] [stdout] | [INFO] [stdout] 224 | StencilWriteMask: D3D12_DEFAULT_STENCIL_WRITE_MASK as u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_HEAP_TYPE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:232:27 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn new(heap_type: D3D12_HEAP_TYPE) -> D3D12_HEAP_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_HEAP_PROPERTIES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:232:47 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn new(heap_type: D3D12_HEAP_TYPE) -> D3D12_HEAP_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_HEAP_PROPERTIES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | D3D12_HEAP_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_CPU_PAGE_PROPERTY_UNKNOWN` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:235:30 [INFO] [stdout] | [INFO] [stdout] 235 | CPUPageProperty: D3D12_CPU_PAGE_PROPERTY_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MEMORY_POOL_UNKNOWN` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:236:35 [INFO] [stdout] | [INFO] [stdout] 236 | MemoryPoolPreference: D3D12_MEMORY_POOL_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_FORMAT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:244:40 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn new(name: &CString, format: DXGI_FORMAT, offset: u32) -> D3D12_INPUT_ELEMENT_DESC { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:244:69 [INFO] [stdout] | [INFO] [stdout] 244 | pub fn new(name: &CString, format: DXGI_FORMAT, offset: u32) -> D3D12_INPUT_ELEMENT_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | D3D12_INPUT_ELEMENT_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:251:29 [INFO] [stdout] | [INFO] [stdout] 251 | InputSlotClass: D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_COMMON` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | state: D3D12_RESOURCE_STATE_COMMON, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:263:21 [INFO] [stdout] | [INFO] [stdout] 263 | format: DXGI_FORMAT_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:295:27 [INFO] [stdout] | [INFO] [stdout] 278 | impl ResourcePool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 295 | resource: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:296:24 [INFO] [stdout] | [INFO] [stdout] 296 | initial_state: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_FORMAT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | format: DXGI_FORMAT, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:342:22 [INFO] [stdout] | [INFO] [stdout] 82 | struct PipelineState { [INFO] [stdout] | -------------------- similarly named struct `PipelineState` defined here [INFO] [stdout] ... [INFO] [stdout] 342 | pso: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 342 | pso: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 322 | impl PipelinePool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12RootSignature` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:343:29 [INFO] [stdout] | [INFO] [stdout] 322 | impl PipelinePool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 343 | rsignature: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:368:24 [INFO] [stdout] | [INFO] [stdout] 368 | pub fn new(window: HWND) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory4` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:371:36 [INFO] [stdout] | [INFO] [stdout] 371 | let mut rfactory: *mut IDXGIFactory4 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDXGIFactory2` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:372:18 [INFO] [stdout] | [INFO] [stdout] 372 | vhr!(CreateDXGIFactory2( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_CREATE_FACTORY_DEBUG` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:373:17 [INFO] [stdout] | [INFO] [stdout] 373 | DXGI_CREATE_FACTORY_DEBUG, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Debug` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:383:32 [INFO] [stdout] | [INFO] [stdout] 383 | let mut rdbg: *mut ID3D12Debug = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12GetDebugInterface` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | D3D12GetDebugInterface( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Debug1` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:392:37 [INFO] [stdout] | [INFO] [stdout] 392 | let mut rdbg1: *mut ID3D12Debug1 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:408:35 [INFO] [stdout] | [INFO] [stdout] 408 | let mut rdevice: *mut ID3D12Device2 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12CreateDevice` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:409:18 [INFO] [stdout] | [INFO] [stdout] 409 | vhr!(D3D12CreateDevice( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_11_1` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:411:17 [INFO] [stdout] | [INFO] [stdout] 411 | D3D_FEATURE_LEVEL_11_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:420:37 [INFO] [stdout] | [INFO] [stdout] 420 | let mut rcmdqueue: *mut ID3D12CommandQueue = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `CommandQueue` [INFO] [stdout] | [INFO] [stdout] ::: src/d3d12/wrappers.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub type CommandQueue = WeakPtr; [INFO] [stdout] | ---------------------------------------------------- similarly named type alias `CommandQueue` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_COMMAND_QUEUE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:422:18 [INFO] [stdout] | [INFO] [stdout] 422 | &D3D12_COMMAND_QUEUE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMMAND_QUEUE_FLAG_NONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:423:28 [INFO] [stdout] | [INFO] [stdout] 423 | Flags: D3D12_COMMAND_QUEUE_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMMAND_QUEUE_PRIORITY_NORMAL` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:424:31 [INFO] [stdout] | [INFO] [stdout] 424 | Priority: D3D12_COMMAND_QUEUE_PRIORITY_NORMAL as i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:425:27 [INFO] [stdout] | [INFO] [stdout] 425 | Type: D3D12_COMMAND_LIST_TYPE_DIRECT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_SWAP_CHAIN_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:437:31 [INFO] [stdout] | [INFO] [stdout] 437 | let mut desc: DXGI_SWAP_CHAIN_DESC = unsafe { mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:439:42 [INFO] [stdout] | [INFO] [stdout] 439 | desc.BufferDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_USAGE_RENDER_TARGET_OUTPUT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:440:36 [INFO] [stdout] | [INFO] [stdout] 440 | desc.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_FLIP_DISCARD` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:443:35 [INFO] [stdout] | [INFO] [stdout] 443 | desc.SwapEffect = DXGI_SWAP_EFFECT_FLIP_DISCARD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:446:43 [INFO] [stdout] | [INFO] [stdout] 446 | let mut rswapchain1: *mut IDXGISwapChain = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:448:57 [INFO] [stdout] | [INFO] [stdout] 448 | cmdqueue.as_raw() as *mut _ as *mut IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain3` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:456:39 [INFO] [stdout] | [INFO] [stdout] 456 | let mut rswapchain3: *mut IDXGISwapChain3 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandAllocator` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:467:39 [INFO] [stdout] | [INFO] [stdout] 467 | let mut rcmdallocs: [*mut ID3D12CommandAllocator; 2] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:472:21 [INFO] [stdout] | [INFO] [stdout] 472 | D3D12_COMMAND_LIST_TYPE_DIRECT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_RTV` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:487:13 [INFO] [stdout] | [INFO] [stdout] 487 | D3D12_DESCRIPTOR_HEAP_TYPE_RTV, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_NONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:488:13 [INFO] [stdout] | [INFO] [stdout] 488 | D3D12_DESCRIPTOR_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_DSV` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | D3D12_DESCRIPTOR_HEAP_TYPE_DSV, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_NONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | D3D12_DESCRIPTOR_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:499:13 [INFO] [stdout] | [INFO] [stdout] 499 | D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_NONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | D3D12_DESCRIPTOR_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:506:17 [INFO] [stdout] | [INFO] [stdout] 506 | D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:507:17 [INFO] [stdout] | [INFO] [stdout] 507 | D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:512:17 [INFO] [stdout] | [INFO] [stdout] 512 | D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_HEAP_TYPE_UPLOAD` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:519:51 [INFO] [stdout] | [INFO] [stdout] 519 | GpuMemoryHeap::new(device, 32 * 1024, D3D12_HEAP_TYPE_UPLOAD), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_HEAP_TYPE_UPLOAD` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:520:51 [INFO] [stdout] | [INFO] [stdout] 520 | GpuMemoryHeap::new(device, 32 * 1024, D3D12_HEAP_TYPE_UPLOAD), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:527:37 [INFO] [stdout] | [INFO] [stdout] 527 | let mut rbuffers: [*mut ID3D12Resource; 4] = [ptr::null_mut(); 4]; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:542:21 [INFO] [stdout] | [INFO] [stdout] 542 | D3D12_RESOURCE_STATE_PRESENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:543:21 [INFO] [stdout] | [INFO] [stdout] 543 | DXGI_FORMAT_R8G8B8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:547:21 [INFO] [stdout] | [INFO] [stdout] 547 | D3D12_RESOURCE_STATE_PRESENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:548:21 [INFO] [stdout] | [INFO] [stdout] 548 | DXGI_FORMAT_R8G8B8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:552:21 [INFO] [stdout] | [INFO] [stdout] 552 | D3D12_RESOURCE_STATE_PRESENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:553:21 [INFO] [stdout] | [INFO] [stdout] 553 | DXGI_FORMAT_R8G8B8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:557:21 [INFO] [stdout] | [INFO] [stdout] 557 | D3D12_RESOURCE_STATE_PRESENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:558:21 [INFO] [stdout] | [INFO] [stdout] 558 | DXGI_FORMAT_R8G8B8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList1` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:564:36 [INFO] [stdout] | [INFO] [stdout] 564 | let mut rcmdlist: *mut ID3D12GraphicsCommandList1 = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a type alias with a similar name exists: `GraphicsCommandList` [INFO] [stdout] | [INFO] [stdout] ::: src/d3d12/wrappers.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub type GraphicsCommandList = WeakPtr; [INFO] [stdout] | ------------------------------------------------------------------- similarly named type alias `GraphicsCommandList` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:567:17 [INFO] [stdout] | [INFO] [stdout] 567 | D3D12_COMMAND_LIST_TYPE_DIRECT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Fence` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:578:34 [INFO] [stdout] | [INFO] [stdout] 578 | let mut rfence: *mut ID3D12Fence = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_FENCE_FLAG_NONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:581:17 [INFO] [stdout] | [INFO] [stdout] 581 | D3D12_FENCE_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEventExA` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:589:22 [INFO] [stdout] | [INFO] [stdout] 589 | unsafe { CreateEventExA(ptr::null_mut(), ptr::null(), 0, EVENT_ALL_ACCESS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVENT_ALL_ACCESS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:589:70 [INFO] [stdout] | [INFO] [stdout] 589 | unsafe { CreateEventExA(ptr::null_mut(), ptr::null(), 0, EVENT_ALL_ACCESS) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:611:31 [INFO] [stdout] | [INFO] [stdout] 611 | let mut rect: RECT = mem::zeroed(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetClientRect` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:612:17 [INFO] [stdout] | [INFO] [stdout] 612 | GetClientRect(window, &mut rect as *mut RECT); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:612:57 [INFO] [stdout] | [INFO] [stdout] 612 | GetClientRect(window, &mut rect as *mut RECT); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:639:18 [INFO] [stdout] | [INFO] [stdout] 639 | unsafe { CloseHandle(self.frame_fence_event) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:661:63 [INFO] [stdout] | [INFO] [stdout] 367 | impl Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 661 | pub fn resource(&self, handle: ResourceHandle) -> WeakPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_HEAP_TYPE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:680:20 [INFO] [stdout] | [INFO] [stdout] 680 | heap_type: D3D12_HEAP_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_HEAP_FLAGS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:681:21 [INFO] [stdout] | [INFO] [stdout] 681 | heap_flags: D3D12_HEAP_FLAGS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:682:16 [INFO] [stdout] | [INFO] [stdout] 682 | desc: &D3D12_RESOURCE_DESC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:683:24 [INFO] [stdout] | [INFO] [stdout] 683 | initial_state: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CLEAR_VALUE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:684:30 [INFO] [stdout] | [INFO] [stdout] 367 | impl Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 684 | clear_value: Option<&D3D12_CLEAR_VALUE>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:687:40 [INFO] [stdout] | [INFO] [stdout] 687 | let mut resource_raw: *mut ID3D12Resource = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_COMMON` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:712:26 [INFO] [stdout] | [INFO] [stdout] 712 | resource.state = D3D12_RESOURCE_STATE_COMMON; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:713:27 [INFO] [stdout] | [INFO] [stdout] 713 | resource.format = DXGI_FORMAT_UNKNOWN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_STATES` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:719:22 [INFO] [stdout] | [INFO] [stdout] 719 | state_after: D3D12_RESOURCE_STATES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GRAPHICS_PIPELINE_STATE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:748:24 [INFO] [stdout] | [INFO] [stdout] 748 | pso_desc: &mut D3D12_GRAPHICS_PIPELINE_STATE_DESC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:755:23 [INFO] [stdout] | [INFO] [stdout] 755 | pso_desc.VS = D3D12_SHADER_BYTECODE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:759:23 [INFO] [stdout] | [INFO] [stdout] 759 | pso_desc.PS = D3D12_SHADER_BYTECODE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12RootSignature` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:772:42 [INFO] [stdout] | [INFO] [stdout] 772 | let mut rsignature_raw: *mut ID3D12RootSignature = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:786:35 [INFO] [stdout] | [INFO] [stdout] 82 | struct PipelineState { [INFO] [stdout] | -------------------- similarly named struct `PipelineState` defined here [INFO] [stdout] ... [INFO] [stdout] 786 | let mut pso_raw: *mut ID3D12PipelineState = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `PipelineState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_COMPUTE_PIPELINE_STATE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:802:24 [INFO] [stdout] | [INFO] [stdout] 802 | pso_desc: &mut D3D12_COMPUTE_PIPELINE_STATE_DESC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:807:23 [INFO] [stdout] | [INFO] [stdout] 807 | pso_desc.CS = D3D12_SHADER_BYTECODE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12RootSignature` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:820:42 [INFO] [stdout] | [INFO] [stdout] 820 | let mut rsignature_raw: *mut ID3D12RootSignature = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:834:35 [INFO] [stdout] | [INFO] [stdout] 82 | struct PipelineState { [INFO] [stdout] | -------------------- similarly named struct `PipelineState` defined here [INFO] [stdout] ... [INFO] [stdout] 834 | let mut pso_raw: *mut ID3D12PipelineState = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `PipelineState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_TYPE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:870:20 [INFO] [stdout] | [INFO] [stdout] 870 | heap_type: D3D12_DESCRIPTOR_HEAP_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:872:10 [INFO] [stdout] | [INFO] [stdout] 872 | ) -> D3D12_CPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:881:17 [INFO] [stdout] | [INFO] [stdout] 881 | D3D12_CPU_DESCRIPTOR_HANDLE { ptr: 0 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:889:11 [INFO] [stdout] | [INFO] [stdout] 889 | ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:889:40 [INFO] [stdout] | [INFO] [stdout] 889 | ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:896:24 [INFO] [stdout] | [INFO] [stdout] 896 | ) -> (*mut c_void, D3D12_GPU_VIRTUAL_ADDRESS) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:916:32 [INFO] [stdout] | [INFO] [stdout] 367 | impl Context { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 916 | ) -> (*mut c_void, WeakPtr, u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:932:23 [INFO] [stdout] | [INFO] [stdout] 932 | src_cpu_base: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:933:10 [INFO] [stdout] | [INFO] [stdout] 933 | ) -> D3D12_GPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:940:17 [INFO] [stdout] | [INFO] [stdout] 940 | D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:966:17 [INFO] [stdout] | [INFO] [stdout] 966 | WaitForSingleObject(self.frame_fence_event, INFINITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:966:61 [INFO] [stdout] | [INFO] [stdout] 966 | WaitForSingleObject(self.frame_fence_event, INFINITE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:985:34 [INFO] [stdout] | [INFO] [stdout] 98 | struct DescriptorHeap { [INFO] [stdout] | --------------------- similarly named struct `DescriptorHeap` defined here [INFO] [stdout] ... [INFO] [stdout] 985 | as *mut *mut ID3D12DescriptorHeap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1002:13 [INFO] [stdout] | [INFO] [stdout] 1002 | WaitForSingleObject(self.frame_fence_event, INFINITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1002:57 [INFO] [stdout] | [INFO] [stdout] 1002 | WaitForSingleObject(self.frame_fence_event, INFINITE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1009:51 [INFO] [stdout] | [INFO] [stdout] 1009 | pub fn back_buffer(&self) -> (ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1011:22 [INFO] [stdout] | [INFO] [stdout] 1011 | let handle = D3D12_CPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1020:25 [INFO] [stdout] | [INFO] [stdout] 1018 | impl DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 1019 | fn new( [INFO] [stdout] 1020 | device: WeakPtr, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_TYPE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1022:16 [INFO] [stdout] | [INFO] [stdout] 1022 | htype: D3D12_DESCRIPTOR_HEAP_TYPE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_DESCRIPTOR_HEAP_FLAGS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1023:16 [INFO] [stdout] | [INFO] [stdout] 1023 | flags: D3D12_DESCRIPTOR_HEAP_FLAGS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12DescriptorHeap` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1026:33 [INFO] [stdout] | [INFO] [stdout] 98 | struct DescriptorHeap { [INFO] [stdout] | --------------------- similarly named struct `DescriptorHeap` defined here [INFO] [stdout] ... [INFO] [stdout] 1026 | let mut rheap: *mut ID3D12DescriptorHeap = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_DESCRIPTOR_HEAP_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1028:18 [INFO] [stdout] | [INFO] [stdout] 1028 | &D3D12_DESCRIPTOR_HEAP_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1042:29 [INFO] [stdout] | [INFO] [stdout] 1042 | if flags == D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1045:21 [INFO] [stdout] | [INFO] [stdout] 1045 | D3D12_GPU_DESCRIPTOR_HANDLE { ptr: 0 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1059:57 [INFO] [stdout] | [INFO] [stdout] 1059 | fn allocate_cpu_descriptors(&mut self, num: u32) -> D3D12_CPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1064:22 [INFO] [stdout] | [INFO] [stdout] 1064 | let handle = D3D12_CPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1075:11 [INFO] [stdout] | [INFO] [stdout] 1075 | ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1075:40 [INFO] [stdout] | [INFO] [stdout] 1075 | ) -> (D3D12_CPU_DESCRIPTOR_HANDLE, D3D12_GPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1080:26 [INFO] [stdout] | [INFO] [stdout] 1080 | let cpu_handle = D3D12_CPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1083:26 [INFO] [stdout] | [INFO] [stdout] 1083 | let gpu_handle = D3D12_GPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GRAPHICS_PIPELINE_STATE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1092:39 [INFO] [stdout] | [INFO] [stdout] 1092 | fn calc_graphics_pipeline_hash(desc: &D3D12_GRAPHICS_PIPELINE_STATE_DESC) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_COMPUTE_PIPELINE_STATE_DESC` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1175:38 [INFO] [stdout] | [INFO] [stdout] 1175 | fn calc_compute_pipeline_hash(desc: &D3D12_COMPUTE_PIPELINE_STATE_DESC) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1184:28 [INFO] [stdout] | [INFO] [stdout] 1183 | impl GpuMemoryHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 1184 | fn new(device: WeakPtr, capacity: u32, heap_type: D3D12_HEAP_TYPE) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_HEAP_TYPE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1184:70 [INFO] [stdout] | [INFO] [stdout] 1184 | fn new(device: WeakPtr, capacity: u32, heap_type: D3D12_HEAP_TYPE) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_HEAP_TYPE_UPLOAD` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1186:30 [INFO] [stdout] | [INFO] [stdout] 1186 | assert!(heap_type == D3D12_HEAP_TYPE_UPLOAD); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1189:36 [INFO] [stdout] | [INFO] [stdout] 1189 | let mut heap_raw: *mut ID3D12Resource = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_HEAP_FLAG_NONE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1192:17 [INFO] [stdout] | [INFO] [stdout] 1192 | D3D12_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_GENERIC_READ` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1194:17 [INFO] [stdout] | [INFO] [stdout] 1194 | D3D12_RESOURCE_STATE_GENERIC_READ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RANGE` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1205:14 [INFO] [stdout] | [INFO] [stdout] 1205 | &D3D12_RANGE { Begin: 0, End: 0 }, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope [INFO] [stdout] --> src/d3d12/graphics.rs:1220:60 [INFO] [stdout] | [INFO] [stdout] 1220 | fn allocate(&mut self, mut size: u32) -> (*mut c_void, D3D12_GPU_VIRTUAL_ADDRESS) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IUnknown` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:57:57 [INFO] [stdout] | [INFO] [stdout] 57 | refcount = (&*(self.0 as *mut _ as *mut IUnknown)).Release(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | pub type Device = WeakPtr; [INFO] [stdout] | - ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandQueue` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:66:33 [INFO] [stdout] | [INFO] [stdout] 66 | pub type CommandQueue = WeakPtr; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList1` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 67 | pub type GraphicsCommandList = WeakPtr; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | pub type Resource = WeakPtr; [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 70 | impl Device { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 75 | desc: Option<&D3D12_SHADER_RESOURCE_VIEW_DESC>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:76:26 [INFO] [stdout] | [INFO] [stdout] 76 | dest_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_VIEWPORT` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn rs_set_viewports(&self, viewports: &[D3D12_VIEWPORT]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RECT` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:97:49 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn rs_set_scissor_rects(&self, rects: &[D3D12_RECT]) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:104:35 [INFO] [stdout] | [INFO] [stdout] 104 | render_target_descriptor: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 90 | impl GraphicsCommandList { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 105 | depth_stencil_descriptor: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | render_target_view: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RECT` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 120 | rects: &[D3D12_RECT], [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_VERTEX_BUFFER_VIEW` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:158:67 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn ia_set_vertex_buffers(&self, start_slot: u32, views: &[D3D12_VERTEX_BUFFER_VIEW]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_PRIMITIVE_TOPOLOGY` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:166:65 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn ia_set_primitive_topology(&self, primitive_topology: D3D12_PRIMITIVE_TOPOLOGY) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | buffer_location: D3D12_GPU_VIRTUAL_ADDRESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:201:26 [INFO] [stdout] | [INFO] [stdout] 201 | base_descriptor: D3D12_GPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:242:28 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn close(&self) -> HRESULT { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_GPU_VIRTUAL_ADDRESS` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:251:46 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn get_gpu_virtual_address(&self) -> D3D12_GPU_VIRTUAL_ADDRESS { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandList` in this scope [INFO] [stdout] --> src/d3d12/wrappers.rs:258:63 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn execute_command_lists(&self, command_lists: &[*mut ID3D12CommandList]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | vertex_buffer_srv: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | index_buffer_srv: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | transform_buffer_srv: D3D12_CPU_DESCRIPTOR_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_GRAPHICS_PIPELINE_STATE_DESC` in this scope [INFO] [stdout] --> src/main.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | &mut D3D12_GRAPHICS_PIPELINE_STATE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/main.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | RTVFormats: [DXGI_FORMAT_R8G8B8A8_UNORM, 0, 0, 0, 0, 0, 0, 0], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/main.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | SampleDesc: DXGI_SAMPLE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE` in this scope [INFO] [stdout] --> src/main.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | PrimitiveTopologyType: D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | ) -> (d3d12::ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope [INFO] [stdout] --> src/main.rs:136:55 [INFO] [stdout] | [INFO] [stdout] 136 | let buffer_srv = d3d.allocate_cpu_descriptors(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope [INFO] [stdout] --> src/main.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | Some(&D3D12_SHADER_RESOURCE_VIEW_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stdout] --> src/main.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | Format: DXGI_FORMAT_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_SRV_DIMENSION_BUFFER` in this scope [INFO] [stdout] --> src/main.rs:142:32 [INFO] [stdout] | [INFO] [stdout] 142 | ViewDimension: D3D12_SRV_DIMENSION_BUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC_u` in this scope [INFO] [stdout] --> src/main.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | let mut u: D3D12_SHADER_RESOURCE_VIEW_DESC_u = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:159:34 [INFO] [stdout] | [INFO] [stdout] 159 | ) -> (d3d12::ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope [INFO] [stdout] --> src/main.rs:168:55 [INFO] [stdout] | [INFO] [stdout] 168 | let buffer_srv = d3d.allocate_cpu_descriptors(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope [INFO] [stdout] --> src/main.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | Some(&D3D12_SHADER_RESOURCE_VIEW_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R32_UINT` in this scope [INFO] [stdout] --> src/main.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | Format: DXGI_FORMAT_R32_UINT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_SRV_DIMENSION_BUFFER` in this scope [INFO] [stdout] --> src/main.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | ViewDimension: D3D12_SRV_DIMENSION_BUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC_u` in this scope [INFO] [stdout] --> src/main.rs:177:32 [INFO] [stdout] | [INFO] [stdout] 177 | let mut u: D3D12_SHADER_RESOURCE_VIEW_DESC_u = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:190:34 [INFO] [stdout] | [INFO] [stdout] 190 | ) -> (d3d12::ResourceHandle, D3D12_CPU_DESCRIPTOR_HANDLE) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV` in this scope [INFO] [stdout] --> src/main.rs:202:55 [INFO] [stdout] | [INFO] [stdout] 202 | let buffer_srv = d3d.allocate_cpu_descriptors(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_RESOURCE_VIEW_DESC` in this scope [INFO] [stdout] --> src/main.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | Some(&D3D12_SHADER_RESOURCE_VIEW_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stdout] --> src/main.rs:207:25 [INFO] [stdout] | [INFO] [stdout] 207 | Format: DXGI_FORMAT_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_SRV_DIMENSION_BUFFER` in this scope [INFO] [stdout] --> src/main.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | ViewDimension: D3D12_SRV_DIMENSION_BUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_SHADER_RESOURCE_VIEW_DESC_u` in this scope [INFO] [stdout] --> src/main.rs:211:32 [INFO] [stdout] | [INFO] [stdout] 211 | let mut u: D3D12_SHADER_RESOURCE_VIEW_DESC_u = mem::zeroed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_HEAP_TYPE_DEFAULT` in this scope [INFO] [stdout] --> src/main.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | D3D12_HEAP_TYPE_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_HEAP_FLAG_NONE` in this scope [INFO] [stdout] --> src/main.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | D3D12_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_COPY_DEST` in this scope [INFO] [stdout] --> src/main.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | D3D12_RESOURCE_STATE_COPY_DEST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE` in this scope [INFO] [stdout] --> src/main.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_VIEWPORT` in this scope [INFO] [stdout] --> src/main.rs:258:36 [INFO] [stdout] | [INFO] [stdout] 258 | cmdlist.rs_set_viewports(&[D3D12_VIEWPORT { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RECT` in this scope [INFO] [stdout] --> src/main.rs:266:40 [INFO] [stdout] | [INFO] [stdout] 266 | cmdlist.rs_set_scissor_rects(&[D3D12_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_RENDER_TARGET` in this scope [INFO] [stdout] --> src/main.rs:272:49 [INFO] [stdout] | [INFO] [stdout] 272 | d3d.cmd_transition_barrier(back_buffer, D3D12_RESOURCE_STATE_RENDER_TARGET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST` in this scope [INFO] [stdout] --> src/main.rs:275:43 [INFO] [stdout] | [INFO] [stdout] 275 | cmdlist.ia_set_primitive_topology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope [INFO] [stdout] --> src/main.rs:291:49 [INFO] [stdout] | [INFO] [stdout] 291 | d3d.cmd_transition_barrier(back_buffer, D3D12_RESOURCE_STATE_PRESENT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/d3d12/graphics.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 339 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5cebc60bf88fc95902cd8c1d4f26451b003ac0600eaba02af850b01a474533bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cebc60bf88fc95902cd8c1d4f26451b003ac0600eaba02af850b01a474533bb", kill_on_drop: false }` [INFO] [stdout] 5cebc60bf88fc95902cd8c1d4f26451b003ac0600eaba02af850b01a474533bb