[INFO] cloning repository https://github.com/deadshot465/demo_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deadshot465/demo_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeadshot465%2Fdemo_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeadshot465%2Fdemo_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11e206abc5d213063a6a39654c8ab433c173a421 [INFO] checking deadshot465/demo_game against try#b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f for pr-76104 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeadshot465%2Fdemo_game" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/deadshot465/demo_game on toolchain b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/deadshot465/demo_game [INFO] finished tweaking git repo https://github.com/deadshot465/demo_game [INFO] tweaked toml for git repo https://github.com/deadshot465/demo_game written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/deadshot465/demo_game already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dashmap v4.0.0-rc6 [INFO] [stderr] Downloaded async-trait v0.1.40 [INFO] [stderr] Downloaded glam v0.9.4 [INFO] [stderr] Downloaded vk-mem v0.2.2 [INFO] [stderr] Downloaded metal v0.20.0 [INFO] [stderr] Downloaded aligned_alloc v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 459819b8b0862184c5223dc8f38bd20c9a7bade237dcad8198a5c707aa7aec25 [INFO] running `Command { std: "docker" "start" "-a" "459819b8b0862184c5223dc8f38bd20c9a7bade237dcad8198a5c707aa7aec25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "459819b8b0862184c5223dc8f38bd20c9a7bade237dcad8198a5c707aa7aec25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "459819b8b0862184c5223dc8f38bd20c9a7bade237dcad8198a5c707aa7aec25", kill_on_drop: false }` [INFO] [stdout] 459819b8b0862184c5223dc8f38bd20c9a7bade237dcad8198a5c707aa7aec25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6346ea82ccc062e83ef7b698bea13c3f64a8052164da00fc69f5ed6d45fada21 [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" "6346ea82ccc062e83ef7b698bea13c3f64a8052164da00fc69f5ed6d45fada21", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling glam v0.9.4 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling vk-mem v0.2.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking libloading v0.6.3 [INFO] [stderr] Checking dashmap v4.0.0-rc6 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking aligned_alloc v0.1.3 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking wio v0.2.2 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking num-integer v0.1.43 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking num-iter v0.1.41 [INFO] [stderr] Checking num-rational v0.3.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.9 [INFO] [stderr] Compiling gltf-derive v0.15.2 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.40 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking gltf-json v0.15.2 [INFO] [stderr] Checking gltf v0.15.2 [INFO] [stderr] Checking demo_game_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/game/shared/structs/skinned_model.rs:423:64 [INFO] [stdout] | [INFO] [stdout] 423 | let mut buffer: Vec = vec![0; ] [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 424 | }, [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/game/shared/structs/skinned_model.rs:423:64 [INFO] [stdout] | [INFO] [stdout] 423 | let mut buffer: Vec = vec![0; ] [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 424 | }, [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/game/shared/structs/skinned_model.rs:423:62 [INFO] [stdout] | [INFO] [stdout] 423 | ... let mut buffer: Vec = vec![0; ] [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/game/shared/structs/skinned_model.rs:423:62 [INFO] [stdout] | [INFO] [stdout] 423 | ... let mut buffer: Vec = vec![0; ] [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::d3d12::ID3D12GraphicsCommandList; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::d3d12::ID3D12GraphicsCommandList; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/game/game.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::d3d12::{D3D12_DESCRIPTOR_HEAP_DESC, D3D12_DESCRIPTOR_HEAP_TYPE_RTV, ID3D12DescriptorHeap, D3D12_DESCRIPTOR_HEAP_FLAG_NONE... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::guiddef::{REFGUID, REFIID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::basetsd::{SIZE_T, UINT64}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::dxgiformat::DXGI_FORMAT_D32_FLOAT; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/game/game.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::d3d12::{D3D12_DESCRIPTOR_HEAP_DESC, D3D12_DESCRIPTOR_HEAP_TYPE_RTV, ID3D12DescriptorHeap, D3D12_DESCRIPTOR_HEAP_FLAG_NONE... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi` [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::Interface; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `aligned_alloc::winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::guiddef::{REFGUID, REFIID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::d3d12::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::basetsd::{SIZE_T, UINT64}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::dxgiformat::DXGI_FORMAT_D32_FLOAT; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit::platform::windows` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | use winit::platform::windows::WindowExtWindows; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi` [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::Interface; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `aligned_alloc::winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::d3d12::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::dxgi1_4::IDXGISwapChain3; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::dxgi1_2::{IDXGIFactory2, DXGI_SWAP_CHAIN_DESC1, DXGI_ALPHA_MODE_UNSPECIFIED, IDXGISwapChain1, DXGI_SCALING_STRETCH}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{BOOL, UINT, FALSE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::dxgiformat::DXGI_FORMAT_B8G8R8A8_UNORM; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::dxgitype::{DXGI_SAMPLE_DESC, DXGI_USAGE_RENDER_TARGET_OUTPUT}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::dxgi::{DXGI_SWAP_EFFECT_FLIP_DISCARD, DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::d3d12::ID3D12CommandQueue; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit::platform::windows` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | use winit::platform::windows::WindowExtWindows; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::dxgi1_4::IDXGISwapChain3; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::dxgi1_2::{IDXGIFactory2, DXGI_SWAP_CHAIN_DESC1, DXGI_ALPHA_MODE_UNSPECIFIED, IDXGISwapChain1, DXGI_SCALING_STRETCH}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{BOOL, UINT, FALSE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::dxgiformat::DXGI_FORMAT_B8G8R8A8_UNORM; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::dxgitype::{DXGI_SAMPLE_DESC, DXGI_USAGE_RENDER_TARGET_OUTPUT}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::dxgi::{DXGI_SWAP_EFFECT_FLIP_DISCARD, DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::d3d12::ID3D12CommandQueue; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/shared/util/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/shared/util/util.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::winerror::{HRESULT, FAILED}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::d3d12::{ID3D12CommandQueue, ID3D12Device2, D3D12_COMMAND_QUEUE_DESC, D3D12_COMMAND_LIST_TYPE_DIRECT, D3D12_COMMAND_QUEUE_... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{INT, UINT}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/shared/util/util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/shared/util/util.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::winerror::{HRESULT, FAILED}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::d3d12::{ID3D12CommandQueue, ID3D12Device2, D3D12_COMMAND_QUEUE_DESC, D3D12_COMMAND_LIST_TYPE_DIRECT, D3D12_COMMAND_QUEUE_... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::{INT, UINT}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::guiddef::{REFIID, REFGUID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::winerror::FAILED; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::d3d12sdklayers::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::d3d12::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::dxgi1_6::{IDXGIFactory6, IDXGIAdapter4, DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE, DXGI_ADAPTER_DESC3, DXGI_ADAPTER_FLAG3_... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::dxgi1_3::{CreateDXGIFactory2, DXGI_CREATE_FACTORY_DEBUG}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi`, `winapi::shared::dxgi1_6::IDXGIFactory6`, `winapi::shared::dxgi1_6::IDXGIAdapter4`, `winapi::shared::dxgi1_6::DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE`, `winapi::shared::dxgi1_6::DXGI_ADAPTER_DESC3`, `winapi::shared::dxgi1_6::DXGI_ADAPTER_FLAG3_SOFTWARE`, `winapi::shared::dxgi1_3::CreateDXGIFactory2`, `winapi::shared::dxgi1_3::DXGI_CREATE_FACTORY_DEBUG` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::Interface; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `aligned_alloc::winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/game/graphics/dx12/graphics.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | ...xgi1_6::{IDXGIFactory6, IDXGIAdapter4, DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE, DXGI_ADAPTER_DESC3, DXGI_ADAPTER_FLAG3_SOFTWARE}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | ...xgi1_3::{CreateDXGIFactory2, DXGI_CREATE_FACTORY_DEBUG}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::guiddef::REFIID; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::dxgi1_2::IDXGIFactory2; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::winerror::{FAILED, SUCCEEDED}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::minwindef::{UINT, FALSE, BOOL, TRUE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::{RtlZeroMemory, LUID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::basetsd::SIZE_T; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::d3d12::{D3D12CreateDevice, ID3D12Device2, D3D12GetDebugInterface, ID3D12GraphicsCommandList}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::d3dcommon::D3D_FEATURE_LEVEL_12_1; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::shared::dxgi1_5::DXGI_FEATURE_PRESENT_ALLOW_TEARING; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::UINT; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::d3dcommon::ID3DBlob; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::guiddef::REFGUID; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wio::com` [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | use wio::com::ComPtr; [INFO] [stdout] | ^^^ could not find `com` in `wio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::guiddef::{REFIID, REFGUID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::winerror::FAILED; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::d3d12sdklayers::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::d3d12::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::dxgi1_6::{IDXGIFactory6, IDXGIAdapter4, DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE, DXGI_ADAPTER_DESC3, DXGI_ADAPTER_FLAG3_... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::shared::dxgi1_3::{CreateDXGIFactory2, DXGI_CREATE_FACTORY_DEBUG}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi`, `winapi::shared::dxgi1_6::IDXGIFactory6`, `winapi::shared::dxgi1_6::IDXGIAdapter4`, `winapi::shared::dxgi1_6::DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE`, `winapi::shared::dxgi1_6::DXGI_ADAPTER_DESC3`, `winapi::shared::dxgi1_6::DXGI_ADAPTER_FLAG3_SOFTWARE`, `winapi::shared::dxgi1_3::CreateDXGIFactory2`, `winapi::shared::dxgi1_3::DXGI_CREATE_FACTORY_DEBUG` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::Interface; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `aligned_alloc::winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/game/graphics/dx12/graphics.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | ...xgi1_6::{IDXGIFactory6, IDXGIAdapter4, DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE, DXGI_ADAPTER_DESC3, DXGI_ADAPTER_FLAG3_SOFTWARE}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | ...xgi1_3::{CreateDXGIFactory2, DXGI_CREATE_FACTORY_DEBUG}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::guiddef::REFIID; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::dxgi1_2::IDXGIFactory2; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::winerror::{FAILED, SUCCEEDED}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::minwindef::{UINT, FALSE, BOOL, TRUE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::{RtlZeroMemory, LUID}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::basetsd::SIZE_T; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::d3d12::{D3D12CreateDevice, ID3D12Device2, D3D12GetDebugInterface, ID3D12GraphicsCommandList}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::d3dcommon::D3D_FEATURE_LEVEL_12_1; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::shared::dxgi1_5::DXGI_FEATURE_PRESENT_ALLOW_TEARING; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi`, `winapi::shared::guiddef::REFIID`, `winapi::ctypes::c_void`, `winapi::shared::dxgi1_2::IDXGIFactory2`, `winapi::um::unknwnbase::IUnknown`, `winapi::shared::winerror::FAILED`, `winapi::shared::winerror::SUCCEEDED`, `winapi::shared::minwindef::UINT`, `winapi::shared::minwindef::FALSE`, `winapi::shared::minwindef::BOOL`, `winapi::shared::minwindef::TRUE`, `winapi::um::winnt::RtlZeroMemory`, `winapi::um::winnt::LUID`, `winapi::shared::basetsd::SIZE_T`, `winapi::um::d3d12::D3D12CreateDevice`, `winapi::um::d3d12::ID3D12Device2`, `winapi::um::d3d12::D3D12GetDebugInterface`, `winapi::um::d3d12::ID3D12GraphicsCommandList`, `winapi::um::d3dcommon::D3D_FEATURE_LEVEL_12_1`, `winapi::shared::dxgi1_5::DXGI_FEATURE_PRESENT_ALLOW_TEARING`, `winapi::shared::windef::HWND`, `winapi::ctypes::c_void`, `winapi::shared::minwindef::UINT`, `winapi::um::d3dcommon::ID3DBlob`, `winapi::shared::guiddef::REFGUID` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::Interface; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `aligned_alloc::winapi` [INFO] [stdout] 4 | use winapi::shared::guiddef::REFIID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use winapi::shared::dxgi1_2::IDXGIFactory2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use wio::com::ComPtr; [INFO] [stdout] 9 | use winapi::shared::winerror::{FAILED, SUCCEEDED}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] 10 | use winapi::shared::minwindef::{UINT, FALSE, BOOL, TRUE}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ ^^^^ [INFO] [stdout] 11 | use winapi::um::winnt::{RtlZeroMemory, LUID}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] 12 | use winapi::shared::basetsd::SIZE_T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | use winapi::um::d3d12::{D3D12CreateDevice, ID3D12Device2, D3D12GetDebugInterface, ID3D12GraphicsCommandList}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use winapi::um::d3dcommon::D3D_FEATURE_LEVEL_12_1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | use winapi::shared::dxgi1_5::DXGI_FEATURE_PRESENT_ALLOW_TEARING; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | use winit::platform::windows::WindowExtWindows; [INFO] [stdout] 25 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/game/graphics/dx12/pipeline.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use winapi::shared::minwindef::UINT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use winapi::um::d3dcommon::ID3DBlob; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use winapi::shared::guiddef::REFGUID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::basetsd::{UINT64, UINT16}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::UINT; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::dxgiformat::{DXGI_FORMAT, DXGI_FORMAT_UNKNOWN}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::dxgitype::DXGI_SAMPLE_DESC; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::UINT; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::d3dcommon::ID3DBlob; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi`, `winapi::shared::basetsd::UINT64`, `winapi::shared::basetsd::UINT16`, `winapi::shared::minwindef::UINT`, `winapi::shared::dxgiformat::DXGI_FORMAT`, `winapi::shared::dxgiformat::DXGI_FORMAT_UNKNOWN`, `winapi::shared::dxgitype::DXGI_SAMPLE_DESC` [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::Interface; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `aligned_alloc::winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/game/graphics/dx12/resource.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::basetsd::{UINT64, UINT16}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] 4 | use winapi::shared::minwindef::UINT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use winapi::shared::dxgiformat::{DXGI_FORMAT, DXGI_FORMAT_UNKNOWN}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use winapi::shared::dxgitype::DXGI_SAMPLE_DESC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::guiddef::REFGUID; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi`, `winapi::shared::guiddef::REFGUID` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::Interface; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `aligned_alloc::winapi` [INFO] [stdout] 10 | use winapi::shared::guiddef::REFGUID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::guiddef::REFGUID; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi`, `winapi::shared::guiddef::REFIID`, `winapi::ctypes::c_void`, `winapi::shared::dxgi1_2::IDXGIFactory2`, `winapi::um::unknwnbase::IUnknown`, `winapi::shared::winerror::FAILED`, `winapi::shared::winerror::SUCCEEDED`, `winapi::shared::minwindef::UINT`, `winapi::shared::minwindef::FALSE`, `winapi::shared::minwindef::BOOL`, `winapi::shared::minwindef::TRUE`, `winapi::um::winnt::RtlZeroMemory`, `winapi::um::winnt::LUID`, `winapi::shared::basetsd::SIZE_T`, `winapi::um::d3d12::D3D12CreateDevice`, `winapi::um::d3d12::ID3D12Device2`, `winapi::um::d3d12::D3D12GetDebugInterface`, `winapi::um::d3d12::ID3D12GraphicsCommandList`, `winapi::um::d3dcommon::D3D_FEATURE_LEVEL_12_1`, `winapi::shared::dxgi1_5::DXGI_FEATURE_PRESENT_ALLOW_TEARING`, `winapi::shared::windef::HWND`, `winapi::ctypes::c_void`, `winapi::shared::minwindef::UINT`, `winapi::um::d3dcommon::ID3DBlob`, `winapi::shared::guiddef::REFGUID` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::Interface; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `aligned_alloc::winapi` [INFO] [stdout] 4 | use winapi::shared::guiddef::REFIID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use winapi::shared::dxgi1_2::IDXGIFactory2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use winapi::um::unknwnbase::IUnknown; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use wio::com::ComPtr; [INFO] [stdout] 9 | use winapi::shared::winerror::{FAILED, SUCCEEDED}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] 10 | use winapi::shared::minwindef::{UINT, FALSE, BOOL, TRUE}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ ^^^^ [INFO] [stdout] 11 | use winapi::um::winnt::{RtlZeroMemory, LUID}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] 12 | use winapi::shared::basetsd::SIZE_T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | use winapi::um::d3d12::{D3D12CreateDevice, ID3D12Device2, D3D12GetDebugInterface, ID3D12GraphicsCommandList}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use winapi::um::d3dcommon::D3D_FEATURE_LEVEL_12_1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | use winapi::shared::dxgi1_5::DXGI_FEATURE_PRESENT_ALLOW_TEARING; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | use winit::platform::windows::WindowExtWindows; [INFO] [stdout] 25 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/game/graphics/dx12/pipeline.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | use winapi::shared::minwindef::UINT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | use winapi::um::d3dcommon::ID3DBlob; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use winapi::shared::guiddef::REFGUID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::basetsd::{UINT64, UINT16}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::shared::minwindef::UINT; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::dxgiformat::{DXGI_FORMAT, DXGI_FORMAT_UNKNOWN}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::dxgitype::DXGI_SAMPLE_DESC; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi`, `winapi::shared::basetsd::UINT64`, `winapi::shared::basetsd::UINT16`, `winapi::shared::minwindef::UINT`, `winapi::shared::dxgiformat::DXGI_FORMAT`, `winapi::shared::dxgiformat::DXGI_FORMAT_UNKNOWN`, `winapi::shared::dxgitype::DXGI_SAMPLE_DESC` [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::Interface; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `aligned_alloc::winapi` [INFO] [stdout] | [INFO] [stdout] ::: src/game/graphics/dx12/resource.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::basetsd::{UINT64, UINT16}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] 4 | use winapi::shared::minwindef::UINT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | use winapi::shared::dxgiformat::{DXGI_FORMAT, DXGI_FORMAT_UNKNOWN}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use winapi::shared::dxgitype::DXGI_SAMPLE_DESC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::shared::guiddef::REFGUID; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi`, `winapi::shared::guiddef::REFGUID` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::Interface; [INFO] [stdout] | ^^^^^^ help: a similar path exists: `aligned_alloc::winapi` [INFO] [stdout] 10 | use winapi::shared::guiddef::REFGUID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12CommandQueue` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | .CreateCommandQueue(&desc as *const _, &ID3D12CommandQueue::uuidof() as REFIID, &mut ptr as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12CommandQueue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12CommandQueue` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | .CreateCommandQueue(&desc as *const _, &ID3D12CommandQueue::uuidof() as REFIID, &mut ptr as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12CommandQueue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12CommandAllocator` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | &ID3D12CommandAllocator::uuidof() as REFGUID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12CommandAllocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12CommandAllocator` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 48 | &ID3D12CommandAllocator::uuidof() as REFGUID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12CommandAllocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12CommandList` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | &ID3D12CommandList::uuidof() as *const _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12CommandList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12CommandList` [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | &ID3D12CommandList::uuidof() as *const _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12CommandList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12DescriptorHeap` [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | &ID3D12DescriptorHeap::uuidof() as REFGUID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Resource` [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | .GetBuffer(i, &ID3D12Resource::uuidof() as REFIID, &mut _ptr as *mut _); [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/game/graphics/dx12/descriptor_heap.rs:42:14 [INFO] [stdout] | [INFO] [stdout] 42 | &ID3D12DescriptorHeap::uuidof() as REFGUID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Resource` [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | .GetBuffer(i, &ID3D12Resource::uuidof() as REFIID, &mut _ptr as *mut _); [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/game/graphics/dx12/descriptor_heap.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | &ID3D12DescriptorHeap::uuidof() as REFGUID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12DescriptorHeap` [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | &ID3D12DescriptorHeap::uuidof() as REFGUID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | .cast::() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | .cast::() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGIFactory2` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:83:70 [INFO] [stdout] | [INFO] [stdout] 83 | let mut res = CreateDXGIFactory2(DXGI_CREATE_FACTORY_DEBUG, &IDXGIFactory2::uuidof() as REFIID, &mut dxgi_factory as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `IDXGIFactory2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGIFactory2` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:83:70 [INFO] [stdout] | [INFO] [stdout] 83 | let mut res = CreateDXGIFactory2(DXGI_CREATE_FACTORY_DEBUG, &IDXGIFactory2::uuidof() as REFIID, &mut dxgi_factory as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `IDXGIFactory2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGIAdapter4` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:95:109 [INFO] [stdout] | [INFO] [stdout] 95 | ..., DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE, &IDXGIAdapter4::uuidof() as REFIID, &mut adapter as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `IDXGIAdapter4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IDXGIAdapter4` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:95:109 [INFO] [stdout] | [INFO] [stdout] 95 | ..., DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE, &IDXGIAdapter4::uuidof() as REFIID, &mut adapter as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `IDXGIAdapter4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Device2` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | &ID3D12Device2::uuidof() as REFIID, &mut device as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ID3D12Device2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Device2` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:130:22 [INFO] [stdout] | [INFO] [stdout] 130 | &ID3D12Device2::uuidof() as REFIID, &mut device as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ID3D12Device2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Debug2` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:143:43 [INFO] [stdout] | [INFO] [stdout] 143 | let res = D3D12GetDebugInterface(&ID3D12Debug2::uuidof() as REFIID, &mut debug as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ID3D12Debug2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Debug2` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:143:43 [INFO] [stdout] | [INFO] [stdout] 143 | let res = D3D12GetDebugInterface(&ID3D12Debug2::uuidof() as REFIID, &mut debug as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ID3D12Debug2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Device2` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | &ID3D12Device2::uuidof() as REFIID, &mut device as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ID3D12Device2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Device2` [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | &ID3D12Device2::uuidof() as REFIID, &mut device as *mut _ [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ID3D12Device2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12RootSignature` [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | &ID3D12RootSignature::uuidof() as REFGUID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12RootSignature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12RootSignature` [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:145:14 [INFO] [stdout] | [INFO] [stdout] 145 | &ID3D12RootSignature::uuidof() as REFGUID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `ID3D12RootSignature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ID3D12Resource` [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | &ID3D12Resource::uuidof() as REFGUID, [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/game/graphics/dx12/resource.rs:55:22 [INFO] [stdout] | [INFO] [stdout] 55 | &ID3D12Resource::uuidof() as REFGUID, [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/game/graphics/dx12/resource.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | &ID3D12Resource::uuidof() as REFGUID, [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/game/graphics/dx12/resource.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | &ID3D12Resource::uuidof() as REFGUID, [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/game/graphics/dx12/resource.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | &ID3D12Resource::uuidof() as REFGUID, [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/game/graphics/dx12/resource.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | &ID3D12Resource::uuidof() as REFGUID, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ID3D12Resource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/game/game.rs:90:50 [INFO] [stdout] | [INFO] [stdout] 90 | impl Game, DX12::Resource> { [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/game/graphics/dx12/command_queue.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 10 | pub command_queue: ComPtr, [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/game/graphics/dx12/command_queue.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 10 | pub command_queue: ComPtr, [INFO] [stdout] 11 | pub command_allocators: Vec>, [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/game/graphics/dx12/command_queue.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 12 | pub command_list: ComPtr, [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/game/graphics/dx12/command_queue.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 15 | impl CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 16 | pub unsafe fn new(device: &ComPtr, buffer_count: UINT) -> Self { [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/game/graphics/dx12/command_queue.rs:16:69 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn new(device: &ComPtr, buffer_count: UINT) -> Self { [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/game/graphics/dx12/command_queue.rs:27:52 [INFO] [stdout] | [INFO] [stdout] 15 | impl CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 27 | unsafe fn create_command_queue(device: &ComPtr) -> ComPtr { [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/game/graphics/dx12/command_queue.rs:27:78 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CommandQueue { [INFO] [stdout] | ----------------------- similarly named struct `CommandQueue` defined here [INFO] [stdout] ... [INFO] [stdout] 27 | unsafe fn create_command_queue(device: &ComPtr) -> ComPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 27 | unsafe fn create_command_queue(device: &ComPtr) -> ComPtr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | impl CommandQueue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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/game/graphics/dx12/command_queue.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | let desc = D3D12_COMMAND_QUEUE_DESC { [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/game/graphics/dx12/command_queue.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | Type: D3D12_COMMAND_LIST_TYPE_DIRECT, [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/game/graphics/dx12/command_queue.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | Priority: D3D12_COMMAND_QUEUE_PRIORITY_NORMAL as INT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INT` in this scope [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:31:62 [INFO] [stdout] | [INFO] [stdout] 31 | Priority: D3D12_COMMAND_QUEUE_PRIORITY_NORMAL as INT, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:36:85 [INFO] [stdout] | [INFO] [stdout] 36 | .CreateCommandQueue(&desc as *const _, &ID3D12CommandQueue::uuidof() as REFIID, &mut ptr as *mut _); [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/game/graphics/dx12/command_queue.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CommandQueue { [INFO] [stdout] | ----------------------- similarly named struct `CommandQueue` defined here [INFO] [stdout] ... [INFO] [stdout] 39 | ComPtr::from_raw(ptr as *mut ID3D12CommandQueue) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `CommandQueue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 15 | impl CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 42 | pub unsafe fn create_command_allocators(device: &ComPtr, buffer_count: UINT) -> Vec> { [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/game/graphics/dx12/command_queue.rs:42:91 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn create_command_allocators(device: &ComPtr, buffer_count: UINT) -> Vec> { [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/game/graphics/dx12/command_queue.rs:42:111 [INFO] [stdout] | [INFO] [stdout] 15 | impl CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 42 | pub unsafe fn create_command_allocators(device: &ComPtr, buffer_count: UINT) -> Vec> { [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/game/graphics/dx12/command_queue.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | D3D12_COMMAND_LIST_TYPE_DIRECT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:48:54 [INFO] [stdout] | [INFO] [stdout] 48 | &ID3D12CommandAllocator::uuidof() as REFGUID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | if FAILED(res) { [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/game/graphics/dx12/command_queue.rs:55:66 [INFO] [stdout] | [INFO] [stdout] 55 | command_allocators.push(ComPtr::from_raw(ptr as *mut ID3D12CommandAllocator)); [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/game/graphics/dx12/command_queue.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 15 | impl CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 60 | pub unsafe fn create_command_list(device: &ComPtr, allocator: &ComPtr) -> ComPtr src/game/graphics/dx12/command_queue.rs:60:90 [INFO] [stdout] | [INFO] [stdout] 15 | impl CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 60 | pub unsafe fn create_command_list(device: &ComPtr, allocator: &ComPtr) -> ComPtr src/game/graphics/dx12/command_queue.rs:60:125 [INFO] [stdout] | [INFO] [stdout] 15 | impl CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 60 | pub unsafe fn create_command_list(device: &ComPtr, allocator: &ComPtr) -> ComPtr src/game/graphics/dx12/command_queue.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | 0, D3D12_COMMAND_LIST_TYPE_DIRECT, [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/game/graphics/dx12/command_queue.rs:70:49 [INFO] [stdout] | [INFO] [stdout] 70 | let _ptr = ComPtr::from_raw(ptr as *mut ID3D12GraphicsCommandList1); [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/game/graphics/dx12/descriptor_heap.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 12 | pub rtv_heap: ComPtr, [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/game/graphics/dx12/descriptor_heap.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 12 | pub rtv_heap: ComPtr, [INFO] [stdout] 13 | pub rtvs: Vec>, [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/game/graphics/dx12/descriptor_heap.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 14 | pub dsv_heap: ComPtr, [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/game/graphics/dx12/descriptor_heap.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 18 | impl DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 19 | pub unsafe fn new(device: &ComPtr, swap_chain: &SwapChain) -> Self { [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/game/graphics/dx12/descriptor_heap.rs:30:57 [INFO] [stdout] | [INFO] [stdout] 18 | impl DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 30 | unsafe fn create_render_target_view(device: &ComPtr, swap_chain: &SwapChain) -> (ComPtr, Vec src/game/graphics/dx12/descriptor_heap.rs:30:108 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | ------------------------- similarly named struct `DescriptorHeap` defined here [INFO] [stdout] ... [INFO] [stdout] 30 | unsafe fn create_render_target_view(device: &ComPtr, swap_chain: &SwapChain) -> (ComPtr, Vec, swap_chain: &SwapChain) -> (ComPtr, Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 18 | impl DescriptorHeap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:30:142 [INFO] [stdout] | [INFO] [stdout] 18 | impl DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 30 | unsafe fn create_render_target_view(device: &ComPtr, swap_chain: &SwapChain) -> (ComPtr, Vec>... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [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/game/graphics/dx12/descriptor_heap.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let desc = 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_TYPE_RTV` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | Type: 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/game/graphics/dx12/descriptor_heap.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | Flags: D3D12_DESCRIPTOR_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:42:48 [INFO] [stdout] | [INFO] [stdout] 42 | &ID3D12DescriptorHeap::uuidof() as REFGUID, [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/game/graphics/dx12/descriptor_heap.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | ------------------------- similarly named struct `DescriptorHeap` defined here [INFO] [stdout] ... [INFO] [stdout] 47 | let mut handle = (ptr as *mut ID3D12DescriptorHeap) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_HEAP_TYPE_RTV` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | .GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE_RTV); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:58:60 [INFO] [stdout] | [INFO] [stdout] 58 | .GetBuffer(i, &ID3D12Resource::uuidof() as REFIID, &mut _ptr as *mut _); [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/game/graphics/dx12/descriptor_heap.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | _ptr as *mut ID3D12Resource, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | handle.ptr += increment_size as SIZE_T; [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/game/graphics/dx12/descriptor_heap.rs:68:56 [INFO] [stdout] | [INFO] [stdout] 68 | let comptr = ComPtr::from_raw(_ptr as *mut ID3D12Resource); [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/game/graphics/dx12/descriptor_heap.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | ------------------------- similarly named struct `DescriptorHeap` defined here [INFO] [stdout] ... [INFO] [stdout] 71 | (ComPtr::from_raw(ptr as *mut ID3D12DescriptorHeap), rtvs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:74:57 [INFO] [stdout] | [INFO] [stdout] 18 | impl DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 74 | unsafe fn create_depth_stencil_view(device: &ComPtr, swap_chain: &SwapChain) -> (ComPtr, Resourc... [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/game/graphics/dx12/descriptor_heap.rs:74:108 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | ------------------------- similarly named struct `DescriptorHeap` defined here [INFO] [stdout] ... [INFO] [stdout] 74 | unsafe fn create_depth_stencil_view(device: &ComPtr, swap_chain: &SwapChain) -> (ComPtr, Resourc... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 74 | unsafe fn create_depth_stencil_view(device: &ComPtr, swap_chain: &SwapChain) -> (ComPtr, Resource) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 18 | impl DescriptorHeap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [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/game/graphics/dx12/descriptor_heap.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | let desc = 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_TYPE_DSV` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | Type: 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/game/graphics/dx12/descriptor_heap.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | Flags: D3D12_DESCRIPTOR_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:84:48 [INFO] [stdout] | [INFO] [stdout] 84 | &ID3D12DescriptorHeap::uuidof() as REFGUID, [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/game/graphics/dx12/descriptor_heap.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | ------------------------- similarly named struct `DescriptorHeap` defined here [INFO] [stdout] ... [INFO] [stdout] 89 | let handle = (ptr as *mut ID3D12DescriptorHeap) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CLEAR_VALUE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | let mut clear_value: D3D12_CLEAR_VALUE = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_D32_FLOAT` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | clear_value.Format = DXGI_FORMAT_D32_FLOAT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT64` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | swap_chain.width as UINT64, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_D32_FLOAT` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | swap_chain.height, 0, DXGI_FORMAT_D32_FLOAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_DEPTH_WRITE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | D3D12_RESOURCE_STATE_DEPTH_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_FLAG_ALLOW_DEPTH_STENCIL` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | D3D12_RESOURCE_FLAG_ALLOW_DEPTH_STENCIL [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/game/graphics/dx12/descriptor_heap.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | ------------------------- similarly named struct `DescriptorHeap` defined here [INFO] [stdout] ... [INFO] [stdout] 116 | (ComPtr::from_raw(ptr as *mut ID3D12DescriptorHeap), resource) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:31:83 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 30 | camera: Arc>, [INFO] [stdout] 31 | resource_manager: Weak, Resource>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Debug2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 32 | debug: ComPtr, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 33 | dxgi_factory: ComPtr, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter4` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | dxgi_adapter: ComPtr, [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/game/graphics/dx12/graphics.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | device: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12InfoQueue` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 36 | info_queue: ComPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:44:168 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 44 | pub unsafe fn new(_window: &winit::window::Window, camera: Arc>, resource_manager: Weak, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | let mut tearing_support: BOOL = FALSE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:50:41 [INFO] [stdout] | [INFO] [stdout] 50 | let mut tearing_support: BOOL = FALSE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use ash::vk::FALSE; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::swapchain::FALSE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FEATURE_PRESENT_ALLOW_TEARING` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | .CheckFeatureSupport(DXGI_FEATURE_PRESENT_ALLOW_TEARING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:55:73 [INFO] [stdout] | [INFO] [stdout] 55 | ... &mut tearing_support as *mut _ as *mut c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:56:54 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 56 | std::mem::size_of::() as UINT); [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/game/graphics/dx12/graphics.rs:56:65 [INFO] [stdout] | [INFO] [stdout] 56 | ... std::mem::size_of::() as UINT); [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/game/graphics/dx12/graphics.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | _window.hwnd() as HWND); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use ash::vk::HWND; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::swapchain::HWND; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 81 | unsafe fn get_adapter() -> (ComPtr, ComPtr) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter4` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:81:63 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 81 | unsafe fn get_adapter() -> (ComPtr, ComPtr) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:82:61 [INFO] [stdout] | [INFO] [stdout] 82 | let mut dxgi_factory = std::ptr::null_mut() as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateDXGIFactory2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | let mut res = CreateDXGIFactory2(DXGI_CREATE_FACTORY_DEBUG, &IDXGIFactory2::uuidof() as REFIID, &mut dxgi_factory as *mut _); [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/game/graphics/dx12/graphics.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | let mut res = CreateDXGIFactory2(DXGI_CREATE_FACTORY_DEBUG, &IDXGIFactory2::uuidof() as REFIID, &mut dxgi_factory as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:83:97 [INFO] [stdout] | [INFO] [stdout] 83 | let mut res = CreateDXGIFactory2(DXGI_CREATE_FACTORY_DEBUG, &IDXGIFactory2::uuidof() as REFIID, &mut dxgi_factory as *mut _); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | if FAILED(res) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:87:61 [INFO] [stdout] | [INFO] [stdout] 87 | let factory = ComPtr::from_raw(dxgi_factory as *mut IDXGIFactory2); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory6` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:88:39 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 88 | let _factory = factory.cast::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:89:56 [INFO] [stdout] | [INFO] [stdout] 89 | let mut adapter = std::ptr::null_mut() as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | let mut adapter_index: UINT = 0; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:91:60 [INFO] [stdout] | [INFO] [stdout] 91 | let mut adapter_ptr = std::ptr::null_mut() as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | let mut dedicated_memory: SIZE_T = 0; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | while SUCCEEDED(res) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:95:70 [INFO] [stdout] | [INFO] [stdout] 95 | ... res = _factory.EnumAdapterByGpuPreference(adapter_index, DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE, &IDXGIAdapter4::uuidof() as REFIID, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:95:136 [INFO] [stdout] | [INFO] [stdout] 95 | ...RENCE_HIGH_PERFORMANCE, &IDXGIAdapter4::uuidof() as REFIID, &mut adapter as *mut _); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | if FAILED(res) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_ADAPTER_DESC3` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | let mut desc: DXGI_ADAPTER_DESC3 = DXGI_ADAPTER_DESC3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_ADAPTER_DESC3` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:99:48 [INFO] [stdout] | [INFO] [stdout] 99 | let mut desc: DXGI_ADAPTER_DESC3 = DXGI_ADAPTER_DESC3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LUID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:108:30 [INFO] [stdout] | [INFO] [stdout] 108 | AdapterLuid: LUID { LowPart: 0, HighPart: 0 }, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RtlZeroMemory` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | RtlZeroMemory(&mut desc as *mut _ as *mut c_void, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | RtlZeroMemory(&mut desc as *mut _ as *mut c_void, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_ADAPTER_DESC3` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:113:83 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 113 | RtlZeroMemory(&mut desc as *mut _ as *mut c_void, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter4` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:114:41 [INFO] [stdout] | [INFO] [stdout] 114 | let _res = (adapter as *mut IDXGIAdapter4) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | if FAILED(_res) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:125:59 [INFO] [stdout] | [INFO] [stdout] 125 | let mut device = std::ptr::null_mut() as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ADAPTER_FLAG3_SOFTWARE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:127:32 [INFO] [stdout] | [INFO] [stdout] 127 | ((desc.Flags & DXGI_ADAPTER_FLAG3_SOFTWARE) == 0) && [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | (SUCCEEDED(D3D12CreateDevice( [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/game/graphics/dx12/graphics.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | (SUCCEEDED(D3D12CreateDevice( [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/game/graphics/dx12/graphics.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | adapter as *mut IUnknown, D3D_FEATURE_LEVEL_12_1, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_12_1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:129:47 [INFO] [stdout] | [INFO] [stdout] 129 | adapter as *mut IUnknown, D3D_FEATURE_LEVEL_12_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:130:49 [INFO] [stdout] | [INFO] [stdout] 130 | &ID3D12Device2::uuidof() as REFIID, &mut device as *mut _ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter4` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:138:56 [INFO] [stdout] | [INFO] [stdout] 138 | (factory, ComPtr::from_raw(adapter_ptr as *mut IDXGIAdapter4)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Debug2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 141 | unsafe fn enable_debug() -> ComPtr { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:142:54 [INFO] [stdout] | [INFO] [stdout] 142 | let mut debug = std::ptr::null_mut() as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12GetDebugInterface` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | let res = D3D12GetDebugInterface(&ID3D12Debug2::uuidof() as REFIID, &mut debug as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:143:69 [INFO] [stdout] | [INFO] [stdout] 143 | let res = D3D12GetDebugInterface(&ID3D12Debug2::uuidof() as REFIID, &mut debug as *mut _); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Debug2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:145:50 [INFO] [stdout] | [INFO] [stdout] 145 | let ptr = ComPtr::from_raw(debug as *mut ID3D12Debug2); [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/game/graphics/dx12/graphics.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 146 | ptr.cast::() [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/game/graphics/dx12/graphics.rs:153:49 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 153 | unsafe fn create_info_queue(device: &ComPtr) -> ComPtr { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12InfoQueue` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:153:75 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 153 | unsafe fn create_info_queue(device: &ComPtr) -> ComPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12InfoQueue` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 155 | .cast::() [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MESSAGE_SEVERITY_CORRUPTION` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | info_queue.SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_CORRUPTION, TRUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:157:74 [INFO] [stdout] | [INFO] [stdout] 157 | info_queue.SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_CORRUPTION, TRUE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use ash::vk::TRUE; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::swapchain::TRUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MESSAGE_SEVERITY_ERROR` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | info_queue.SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_ERROR, TRUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:158:69 [INFO] [stdout] | [INFO] [stdout] 158 | info_queue.SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_ERROR, TRUE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use ash::vk::TRUE; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::swapchain::TRUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MESSAGE_SEVERITY_WARNING` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:159:39 [INFO] [stdout] | [INFO] [stdout] 159 | info_queue.SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_WARNING, TRUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:159:71 [INFO] [stdout] | [INFO] [stdout] 159 | info_queue.SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_WARNING, TRUE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use ash::vk::TRUE; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::swapchain::TRUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MESSAGE_SEVERITY_INFO` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | let mut ignore_severity = vec![D3D12_MESSAGE_SEVERITY_INFO]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MESSAGE_ID_CLEARRENDERTARGETVIEW_MISMATCHINGCLEARVALUE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | D3D12_MESSAGE_ID_CLEARRENDERTARGETVIEW_MISMATCHINGCLEARVALUE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MESSAGE_ID_MAP_INVALID_NULLRANGE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | D3D12_MESSAGE_ID_MAP_INVALID_NULLRANGE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MESSAGE_ID_UNMAP_INVALID_NULLRANGE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | D3D12_MESSAGE_ID_UNMAP_INVALID_NULLRANGE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_INFO_QUEUE_FILTER_DESC` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | let filter_desc = D3D12_INFO_QUEUE_FILTER_DESC { [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/game/graphics/dx12/graphics.rs:171:53 [INFO] [stdout] | [INFO] [stdout] 171 | NumSeverities: ignore_severity.len() as UINT, [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/game/graphics/dx12/graphics.rs:173:40 [INFO] [stdout] | [INFO] [stdout] 173 | NumIDs: ignore_id.len() as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_INFO_QUEUE_FILTER` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:176:26 [INFO] [stdout] | [INFO] [stdout] 176 | let mut filter = D3D12_INFO_QUEUE_FILTER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_INFO_QUEUE_FILTER_DESC` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:177:24 [INFO] [stdout] | [INFO] [stdout] 177 | AllowList: D3D12_INFO_QUEUE_FILTER_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter4` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:193:43 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe fn create_device(adapter: *mut IDXGIAdapter4) -> ComPtr { [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/game/graphics/dx12/graphics.rs:193:68 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 193 | unsafe fn create_device(adapter: *mut IDXGIAdapter4) -> ComPtr { [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/game/graphics/dx12/graphics.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 195 | let res = D3D12CreateDevice( [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/game/graphics/dx12/graphics.rs:196:29 [INFO] [stdout] | [INFO] [stdout] 196 | adapter as *mut IUnknown, D3D_FEATURE_LEVEL_12_1, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_12_1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:196:39 [INFO] [stdout] | [INFO] [stdout] 196 | adapter as *mut IUnknown, D3D_FEATURE_LEVEL_12_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:197:41 [INFO] [stdout] | [INFO] [stdout] 197 | &ID3D12Device2::uuidof() as REFIID, &mut device as *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/game/graphics/dx12/graphics.rs:201:41 [INFO] [stdout] | [INFO] [stdout] 201 | ComPtr::from_raw(device as *mut ID3D12Device2) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:205:36 [INFO] [stdout] | [INFO] [stdout] 205 | impl GraphicsBase, Resource> for Graphics { [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 `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:206:89 [INFO] [stdout] | [INFO] [stdout] 205 | impl GraphicsBase, Resource> for Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 206 | fn create_vertex_buffer(&self, _vertices: &[Vertex], _command_buffer: Option>) -> Resource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:210:84 [INFO] [stdout] | [INFO] [stdout] 205 | impl GraphicsBase, Resource> for Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 210 | fn create_index_buffer(&self, _indices: &[u32], _command_buffer: Option>) -> Resource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:214:43 [INFO] [stdout] | [INFO] [stdout] 205 | impl GraphicsBase, Resource> for Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 214 | fn get_commands(&self) -> &Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/game/game.rs:90:50 [INFO] [stdout] | [INFO] [stdout] 90 | impl Game, DX12::Resource> { [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 `ID3D12RootSignature` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Pipeline { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 12 | pub root_signature: ComPtr, [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/game/graphics/dx12/command_queue.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 10 | pub command_queue: ComPtr, [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/game/graphics/dx12/command_queue.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 10 | pub command_queue: ComPtr, [INFO] [stdout] 11 | pub command_allocators: Vec>, [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/game/graphics/dx12/pipeline.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pipeline { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 16 | pub unsafe fn new(device: &ComPtr) -> Self { [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/game/graphics/dx12/command_queue.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 12 | pub command_list: ComPtr, [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/game/graphics/dx12/pipeline.rs:23:57 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pipeline { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 23 | pub unsafe fn create_root_signature(device: &ComPtr) -> ComPtr { [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/game/graphics/dx12/command_queue.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 15 | impl CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 16 | pub unsafe fn new(device: &ComPtr, buffer_count: UINT) -> Self { [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/game/graphics/dx12/command_queue.rs:16:69 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn new(device: &ComPtr, buffer_count: UINT) -> Self { [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/game/graphics/dx12/command_queue.rs:27:52 [INFO] [stdout] | [INFO] [stdout] 15 | impl CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 27 | unsafe fn create_command_queue(device: &ComPtr) -> ComPtr { [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/game/graphics/dx12/command_queue.rs:27:78 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CommandQueue { [INFO] [stdout] | ----------------------- similarly named struct `CommandQueue` defined here [INFO] [stdout] ... [INFO] [stdout] 27 | unsafe fn create_command_queue(device: &ComPtr) -> ComPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 27 | unsafe fn create_command_queue(device: &ComPtr) -> ComPtr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | impl CommandQueue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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/game/graphics/dx12/command_queue.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | let desc = D3D12_COMMAND_QUEUE_DESC { [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/game/graphics/dx12/command_queue.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | Type: D3D12_COMMAND_LIST_TYPE_DIRECT, [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/game/graphics/dx12/command_queue.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | Priority: D3D12_COMMAND_QUEUE_PRIORITY_NORMAL as INT, [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/game/graphics/dx12/pipeline.rs:23:83 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pipeline { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 23 | pub unsafe fn create_root_signature(device: &ComPtr) -> ComPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INT` in this scope [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:31:62 [INFO] [stdout] | [INFO] [stdout] 31 | Priority: D3D12_COMMAND_QUEUE_PRIORITY_NORMAL as INT, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:36:85 [INFO] [stdout] | [INFO] [stdout] 36 | .CreateCommandQueue(&desc as *const _, &ID3D12CommandQueue::uuidof() as REFIID, &mut ptr as *mut _); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_FEATURE_DATA_ROOT_SIGNATURE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | let mut feature_data = D3D12_FEATURE_DATA_ROOT_SIGNATURE { [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/game/graphics/dx12/command_queue.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CommandQueue { [INFO] [stdout] | ----------------------- similarly named struct `CommandQueue` defined here [INFO] [stdout] ... [INFO] [stdout] 39 | ComPtr::from_raw(ptr as *mut ID3D12CommandQueue) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `CommandQueue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Device2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:42:61 [INFO] [stdout] | [INFO] [stdout] 15 | impl CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 42 | pub unsafe fn create_command_allocators(device: &ComPtr, buffer_count: UINT) -> Vec> { [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/game/graphics/dx12/command_queue.rs:42:91 [INFO] [stdout] | [INFO] [stdout] 42 | pub unsafe fn create_command_allocators(device: &ComPtr, buffer_count: UINT) -> Vec> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_ROOT_SIGNATURE_VERSION_1_1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | HighestVersion: D3D_ROOT_SIGNATURE_VERSION_1_1 [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/game/graphics/dx12/command_queue.rs:42:111 [INFO] [stdout] | [INFO] [stdout] 15 | impl CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 42 | pub unsafe fn create_command_allocators(device: &ComPtr, buffer_count: UINT) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_FEATURE_ROOT_SIGNATURE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | D3D12_FEATURE_ROOT_SIGNATURE, [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/game/graphics/dx12/command_queue.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | D3D12_COMMAND_LIST_TYPE_DIRECT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | &mut feature_data as *mut _ as *mut c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:48:54 [INFO] [stdout] | [INFO] [stdout] 48 | &ID3D12CommandAllocator::uuidof() as REFGUID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/game/graphics/dx12/command_queue.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 51 | if FAILED(res) { [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/game/graphics/dx12/command_queue.rs:55:66 [INFO] [stdout] | [INFO] [stdout] 55 | command_allocators.push(ComPtr::from_raw(ptr as *mut ID3D12CommandAllocator)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_FEATURE_DATA_ROOT_SIGNATURE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pipeline { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 30 | std::mem::size_of::() as UINT [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/game/graphics/dx12/pipeline.rs:30:73 [INFO] [stdout] | [INFO] [stdout] 30 | std::mem::size_of::() as UINT [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/game/graphics/dx12/command_queue.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 15 | impl CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 60 | pub unsafe fn create_command_list(device: &ComPtr, allocator: &ComPtr) -> ComPtr src/game/graphics/dx12/pipeline.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let flags = D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS | [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/game/graphics/dx12/command_queue.rs:60:90 [INFO] [stdout] | [INFO] [stdout] 15 | impl CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 60 | pub unsafe fn create_command_list(device: &ComPtr, allocator: &ComPtr) -> ComPtr src/game/graphics/dx12/pipeline.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | D3D12_ROOT_SIGNATURE_FLAG_DENY_HULL_SHADER_ROOT_ACCESS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_DESCRIPTOR_RANGE1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | vs_descriptor_range.push(D3D12_DESCRIPTOR_RANGE1 { [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/game/graphics/dx12/command_queue.rs:60:125 [INFO] [stdout] | [INFO] [stdout] 15 | impl CommandQueue { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 60 | pub unsafe fn create_command_list(device: &ComPtr, allocator: &ComPtr) -> ComPtr src/game/graphics/dx12/pipeline.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | RangeType: D3D12_DESCRIPTOR_RANGE_TYPE_CBV, [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/game/graphics/dx12/command_queue.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | 0, D3D12_COMMAND_LIST_TYPE_DIRECT, [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/game/graphics/dx12/command_queue.rs:70:49 [INFO] [stdout] | [INFO] [stdout] 70 | let _ptr = ComPtr::from_raw(ptr as *mut ID3D12GraphicsCommandList1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:45:48 [INFO] [stdout] | [INFO] [stdout] 45 | OffsetInDescriptorsFromTableStart: D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_DESCRIPTOR_RANGE1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | ps_descriptor_range.push(D3D12_DESCRIPTOR_RANGE1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_RANGE_TYPE_CBV` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | RangeType: D3D12_DESCRIPTOR_RANGE_TYPE_CBV, [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/game/graphics/dx12/descriptor_heap.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 12 | pub rtv_heap: ComPtr, [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/game/graphics/dx12/descriptor_heap.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 12 | pub rtv_heap: ComPtr, [INFO] [stdout] 13 | pub rtvs: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | OffsetInDescriptorsFromTableStart: D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND [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/game/graphics/dx12/descriptor_heap.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 14 | pub dsv_heap: ComPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_ROOT_CONSTANTS` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | let root_constant = D3D12_ROOT_CONSTANTS { [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/game/graphics/dx12/pipeline.rs:61:74 [INFO] [stdout] | [INFO] [stdout] 61 | Num32BitValues: (std::mem::size_of::() / 4) as UINT [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/game/graphics/dx12/descriptor_heap.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 18 | impl DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 19 | pub unsafe fn new(device: &ComPtr, swap_chain: &SwapChain) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_ROOT_PARAMETER1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | let mut parameter_1 = D3D12_ROOT_PARAMETER1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | ParameterType: D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE, [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/game/graphics/dx12/descriptor_heap.rs:30:57 [INFO] [stdout] | [INFO] [stdout] 18 | impl DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 30 | unsafe fn create_render_target_view(device: &ComPtr, swap_chain: &SwapChain) -> (ComPtr, Vec src/game/graphics/dx12/pipeline.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | ShaderVisibility: D3D12_SHADER_VISIBILITY_VERTEX [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/game/graphics/dx12/pipeline.rs:71:65 [INFO] [stdout] | [INFO] [stdout] 71 | .NumDescriptorRanges = vs_descriptor_range.len() as UINT; [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/game/graphics/dx12/descriptor_heap.rs:30:108 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | ------------------------- similarly named struct `DescriptorHeap` defined here [INFO] [stdout] ... [INFO] [stdout] 30 | unsafe fn create_render_target_view(device: &ComPtr, swap_chain: &SwapChain) -> (ComPtr, Vec, swap_chain: &SwapChain) -> (ComPtr, Vec>) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 18 | impl DescriptorHeap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_ROOT_PARAMETER1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | let mut parameter_2 = D3D12_ROOT_PARAMETER1 { [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/game/graphics/dx12/descriptor_heap.rs:30:142 [INFO] [stdout] | [INFO] [stdout] 18 | impl DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 30 | unsafe fn create_render_target_view(device: &ComPtr, swap_chain: &SwapChain) -> (ComPtr, Vec>... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | ParameterType: D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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/game/graphics/dx12/descriptor_heap.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let desc = D3D12_DESCRIPTOR_HEAP_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_SHADER_VISIBILITY_PIXEL` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | ShaderVisibility: D3D12_SHADER_VISIBILITY_PIXEL [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/game/graphics/dx12/descriptor_heap.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | Type: D3D12_DESCRIPTOR_HEAP_TYPE_RTV, [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/game/graphics/dx12/pipeline.rs:84:65 [INFO] [stdout] | [INFO] [stdout] 84 | .NumDescriptorRanges = ps_descriptor_range.len() as UINT; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_ROOT_PARAMETER1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | let mut parameter_3 = D3D12_ROOT_PARAMETER1 { [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/game/graphics/dx12/descriptor_heap.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | Flags: D3D12_DESCRIPTOR_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:42:48 [INFO] [stdout] | [INFO] [stdout] 42 | &ID3D12DescriptorHeap::uuidof() as REFGUID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_ROOT_PARAMETER_TYPE_32BIT_CONSTANTS` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | ParameterType: D3D12_ROOT_PARAMETER_TYPE_32BIT_CONSTANTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_SHADER_VISIBILITY_PIXEL` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | ShaderVisibility: D3D12_SHADER_VISIBILITY_PIXEL [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/game/graphics/dx12/descriptor_heap.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | ------------------------- similarly named struct `DescriptorHeap` defined here [INFO] [stdout] ... [INFO] [stdout] 47 | let mut handle = (ptr as *mut ID3D12DescriptorHeap) [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_STATIC_SAMPLER_DESC` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | let static_sampler = D3D12_STATIC_SAMPLER_DESC { [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/game/graphics/dx12/descriptor_heap.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | .GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE_RTV); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:58:60 [INFO] [stdout] | [INFO] [stdout] 58 | .GetBuffer(i, &ID3D12Resource::uuidof() as REFIID, &mut _ptr as *mut _); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_FILTER_ANISOTROPIC` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | Filter: D3D12_FILTER_ANISOTROPIC, [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/game/graphics/dx12/descriptor_heap.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | _ptr as *mut ID3D12Resource, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_TEXTURE_ADDRESS_MODE_CLAMP` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | AddressU: D3D12_TEXTURE_ADDRESS_MODE_CLAMP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | handle.ptr += increment_size as SIZE_T; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_TEXTURE_ADDRESS_MODE_CLAMP` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | AddressV: D3D12_TEXTURE_ADDRESS_MODE_CLAMP, [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/game/graphics/dx12/descriptor_heap.rs:68:56 [INFO] [stdout] | [INFO] [stdout] 68 | let comptr = ComPtr::from_raw(_ptr as *mut ID3D12Resource); [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/game/graphics/dx12/descriptor_heap.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | ------------------------- similarly named struct `DescriptorHeap` defined here [INFO] [stdout] ... [INFO] [stdout] 71 | (ComPtr::from_raw(ptr as *mut ID3D12DescriptorHeap), rtvs) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_TEXTURE_ADDRESS_MODE_CLAMP` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | AddressW: D3D12_TEXTURE_ADDRESS_MODE_CLAMP, [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/game/graphics/dx12/pipeline.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | ComparisonFunc: D3D12_COMPARISON_FUNC_ALWAYS, [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/game/graphics/dx12/descriptor_heap.rs:74:57 [INFO] [stdout] | [INFO] [stdout] 18 | impl DescriptorHeap { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 74 | unsafe fn create_depth_stencil_view(device: &ComPtr, swap_chain: &SwapChain) -> (ComPtr, Resourc... [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_STATIC_BORDER_COLOR_OPAQUE_BLACK` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | BorderColor: D3D12_STATIC_BORDER_COLOR_OPAQUE_BLACK, [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/game/graphics/dx12/descriptor_heap.rs:74:108 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | ------------------------- similarly named struct `DescriptorHeap` defined here [INFO] [stdout] ... [INFO] [stdout] 74 | unsafe fn create_depth_stencil_view(device: &ComPtr, swap_chain: &SwapChain) -> (ComPtr, Resourc... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 74 | unsafe fn create_depth_stencil_view(device: &ComPtr, swap_chain: &SwapChain) -> (ComPtr, Resource) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 18 | impl DescriptorHeap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [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/game/graphics/dx12/descriptor_heap.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | let desc = D3D12_DESCRIPTOR_HEAP_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_SHADER_VISIBILITY_PIXEL` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | ShaderVisibility: D3D12_SHADER_VISIBILITY_PIXEL, [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/game/graphics/dx12/descriptor_heap.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | Type: D3D12_DESCRIPTOR_HEAP_TYPE_DSV, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_VERSIONED_ROOT_SIGNATURE_DESC` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | let mut versioned_desc = D3D12_VERSIONED_ROOT_SIGNATURE_DESC { [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/game/graphics/dx12/descriptor_heap.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | Flags: D3D12_DESCRIPTOR_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_ROOT_SIGNATURE_VERSION_1_1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | Version: D3D_ROOT_SIGNATURE_VERSION_1_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:84:48 [INFO] [stdout] | [INFO] [stdout] 84 | &ID3D12DescriptorHeap::uuidof() as REFGUID, [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/game/graphics/dx12/pipeline.rs:118:55 [INFO] [stdout] | [INFO] [stdout] 118 | desc.NumParameters = root_parameters.len() as UINT; [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/game/graphics/dx12/descriptor_heap.rs:89:35 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | ------------------------- similarly named struct `DescriptorHeap` defined here [INFO] [stdout] ... [INFO] [stdout] 89 | let handle = (ptr as *mut ID3D12DescriptorHeap) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_CLEAR_VALUE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | let mut clear_value: D3D12_CLEAR_VALUE = Default::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DBlob` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:123:51 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pipeline { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 123 | let mut success_blob = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_D32_FLOAT` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | clear_value.Format = DXGI_FORMAT_D32_FLOAT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DBlob` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:124:49 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pipeline { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 124 | let mut error_blob = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT64` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | swap_chain.width as UINT64, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_D32_FLOAT` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | swap_chain.height, 0, DXGI_FORMAT_D32_FLOAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DBlob` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:125:51 [INFO] [stdout] | [INFO] [stdout] 125 | let mut ref_1 = &mut success_blob as *mut ID3DBlob; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_DEPTH_WRITE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | D3D12_RESOURCE_STATE_DEPTH_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DBlob` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:126:49 [INFO] [stdout] | [INFO] [stdout] 126 | let mut ref_2 = &mut error_blob as *mut ID3DBlob; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_FLAG_ALLOW_DEPTH_STENCIL` in this scope [INFO] [stdout] --> src/game/graphics/dx12/descriptor_heap.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | D3D12_RESOURCE_FLAG_ALLOW_DEPTH_STENCIL [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12SerializeVersionedRootSignature` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | let mut res = D3D12SerializeVersionedRootSignature( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:145:47 [INFO] [stdout] | [INFO] [stdout] 145 | &ID3D12RootSignature::uuidof() as REFGUID, [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/game/graphics/dx12/descriptor_heap.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DescriptorHeap { [INFO] [stdout] | ------------------------- similarly named struct `DescriptorHeap` defined here [INFO] [stdout] ... [INFO] [stdout] 116 | (ComPtr::from_raw(ptr as *mut ID3D12DescriptorHeap), resource) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `DescriptorHeap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:31:83 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 30 | camera: Arc>, [INFO] [stdout] 31 | resource_manager: Weak, Resource>>>, [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/game/graphics/dx12/pipeline.rs:150:38 [INFO] [stdout] | [INFO] [stdout] 150 | ComPtr::from_raw(ptr as *mut ID3D12RootSignature) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Debug2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 32 | debug: ComPtr, [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/game/graphics/dx12/resource.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Resource { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 19 | pub resource_type: ResourceType, [INFO] [stdout] 20 | pub resource: ComPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 33 | dxgi_factory: ComPtr, [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/game/graphics/dx12/resource.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 23 | impl Resource { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 24 | pub unsafe fn new(device: &ComPtr, resource_type: ResourceType, width: UINT64, height: UINT, mip_levels: UINT16, forma... [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter4` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 34 | dxgi_adapter: ComPtr, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT64` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:24:91 [INFO] [stdout] | [INFO] [stdout] 24 | pub unsafe fn new(device: &ComPtr, resource_type: ResourceType, width: UINT64, height: UINT, mip_levels: UINT16, forma... [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/game/graphics/dx12/graphics.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | device: Arc>, [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/game/graphics/dx12/resource.rs:24:107 [INFO] [stdout] | [INFO] [stdout] 24 | pub unsafe fn new(device: &ComPtr, resource_type: ResourceType, width: UINT64, height: UINT, mip_levels: UINT16, forma... [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12InfoQueue` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 36 | info_queue: ComPtr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:44:168 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 44 | pub unsafe fn new(_window: &winit::window::Window, camera: Arc>, resource_manager: Weak, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | let mut tearing_support: BOOL = FALSE; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT16` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:24:125 [INFO] [stdout] | [INFO] [stdout] 24 | ...ourceType, width: UINT64, height: UINT, mip_levels: UINT16, format: DXGI_FORMAT, resource_state: D3D12_RESOURCE_STATES, clear_value: *... [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:50:41 [INFO] [stdout] | [INFO] [stdout] 50 | let mut tearing_support: BOOL = FALSE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use ash::vk::FALSE; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::swapchain::FALSE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_FORMAT` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:24:141 [INFO] [stdout] | [INFO] [stdout] 24 | ...INT64, height: UINT, mip_levels: UINT16, format: DXGI_FORMAT, resource_state: D3D12_RESOURCE_STATES, clear_value: *const D3D12_CLEAR_V... [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FEATURE_PRESENT_ALLOW_TEARING` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | .CheckFeatureSupport(DXGI_FEATURE_PRESENT_ALLOW_TEARING, [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/game/graphics/dx12/resource.rs:24:170 [INFO] [stdout] | [INFO] [stdout] 24 | ...INT16, format: DXGI_FORMAT, resource_state: D3D12_RESOURCE_STATES, clear_value: *const D3D12_CLEAR_VALUE, resource_flag: D3D12_RESOURC... [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/game/graphics/dx12/resource.rs:24:213 [INFO] [stdout] | [INFO] [stdout] 24 | ...e: D3D12_RESOURCE_STATES, clear_value: *const D3D12_CLEAR_VALUE, resource_flag: D3D12_RESOURCE_FLAGS) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:55:73 [INFO] [stdout] | [INFO] [stdout] 55 | ... &mut tearing_support as *mut _ as *mut c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:56:54 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 56 | std::mem::size_of::() as UINT); [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/game/graphics/dx12/graphics.rs:56:65 [INFO] [stdout] | [INFO] [stdout] 56 | ... std::mem::size_of::() as UINT); [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/game/graphics/dx12/graphics.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | _window.hwnd() as HWND); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use ash::vk::HWND; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::swapchain::HWND; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_FLAGS` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:24:247 [INFO] [stdout] | [INFO] [stdout] 24 | ...ue: *const D3D12_CLEAR_VALUE, resource_flag: D3D12_RESOURCE_FLAGS) -> Self { [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/game/graphics/dx12/resource.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let mut desc = D3D12_RESOURCE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 81 | unsafe fn get_adapter() -> (ComPtr, ComPtr) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter4` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:81:63 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 81 | unsafe fn get_adapter() -> (ComPtr, ComPtr) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:82:61 [INFO] [stdout] | [INFO] [stdout] 82 | let mut dxgi_factory = std::ptr::null_mut() as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_DIMENSION_TEXTURE2D` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | Dimension: D3D12_RESOURCE_DIMENSION_TEXTURE2D, [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/game/graphics/dx12/graphics.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | let mut res = CreateDXGIFactory2(DXGI_CREATE_FACTORY_DEBUG, &IDXGIFactory2::uuidof() as REFIID, &mut dxgi_factory as *mut _); [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/game/graphics/dx12/resource.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_TEXTURE_LAYOUT_UNKNOWN` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | Layout: D3D12_TEXTURE_LAYOUT_UNKNOWN, [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/game/graphics/dx12/graphics.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | let mut res = CreateDXGIFactory2(DXGI_CREATE_FACTORY_DEBUG, &IDXGIFactory2::uuidof() as REFIID, &mut dxgi_factory as *mut _); [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/game/graphics/dx12/resource.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | let mut heap_properties = D3D12_HEAP_PROPERTIES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:83:97 [INFO] [stdout] | [INFO] [stdout] 83 | let mut res = CreateDXGIFactory2(DXGI_CREATE_FACTORY_DEBUG, &IDXGIFactory2::uuidof() as REFIID, &mut dxgi_factory as *mut _); [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/game/graphics/dx12/resource.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | Type: D3D12_HEAP_TYPE_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | if FAILED(res) { [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/game/graphics/dx12/resource.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | CPUPageProperty: D3D12_CPU_PAGE_PROPERTY_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:87:61 [INFO] [stdout] | [INFO] [stdout] 87 | let factory = ComPtr::from_raw(dxgi_factory as *mut IDXGIFactory2); [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/game/graphics/dx12/resource.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | MemoryPoolPreference: D3D12_MEMORY_POOL_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory6` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:88:39 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 88 | let _factory = factory.cast::().unwrap(); [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/game/graphics/dx12/resource.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | D3D12_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:89:56 [INFO] [stdout] | [INFO] [stdout] 89 | let mut adapter = std::ptr::null_mut() as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:55:50 [INFO] [stdout] | [INFO] [stdout] 55 | &ID3D12Resource::uuidof() as REFGUID, [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/game/graphics/dx12/graphics.rs:90:32 [INFO] [stdout] | [INFO] [stdout] 90 | let mut adapter_index: UINT = 0; [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/game/graphics/dx12/resource.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | desc.Dimension = D3D12_RESOURCE_DIMENSION_BUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:91:60 [INFO] [stdout] | [INFO] [stdout] 91 | let mut adapter_ptr = std::ptr::null_mut() as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | desc.Format = DXGI_FORMAT_UNKNOWN; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:93:35 [INFO] [stdout] | [INFO] [stdout] 93 | let mut dedicated_memory: SIZE_T = 0; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 94 | while SUCCEEDED(res) { [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/game/graphics/dx12/resource.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | desc.Layout = D3D12_TEXTURE_LAYOUT_ROW_MAJOR; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:95:70 [INFO] [stdout] | [INFO] [stdout] 95 | ... res = _factory.EnumAdapterByGpuPreference(adapter_index, DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE, &IDXGIAdapter4::uuidof() as REFIID, ... [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/game/graphics/dx12/resource.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | D3D12_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:95:136 [INFO] [stdout] | [INFO] [stdout] 95 | ...RENCE_HIGH_PERFORMANCE, &IDXGIAdapter4::uuidof() as REFIID, &mut adapter as *mut _); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:73:50 [INFO] [stdout] | [INFO] [stdout] 73 | &ID3D12Resource::uuidof() as REFGUID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:96:16 [INFO] [stdout] | [INFO] [stdout] 96 | if FAILED(res) { [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/game/graphics/dx12/resource.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | desc.Dimension = D3D12_RESOURCE_DIMENSION_BUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_ADAPTER_DESC3` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | let mut desc: DXGI_ADAPTER_DESC3 = DXGI_ADAPTER_DESC3 { [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/game/graphics/dx12/resource.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | desc.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_ADAPTER_DESC3` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:99:48 [INFO] [stdout] | [INFO] [stdout] 99 | let mut desc: DXGI_ADAPTER_DESC3 = DXGI_ADAPTER_DESC3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LUID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:108:30 [INFO] [stdout] | [INFO] [stdout] 108 | AdapterLuid: LUID { LowPart: 0, HighPart: 0 }, [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/game/graphics/dx12/resource.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | desc.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_HEAP_TYPE_UPLOAD` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | heap_properties.Type = D3D12_HEAP_TYPE_UPLOAD; [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/game/graphics/dx12/resource.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | D3D12_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:92:50 [INFO] [stdout] | [INFO] [stdout] 92 | &ID3D12Resource::uuidof() as REFGUID, [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/game/graphics/dx12/resource.rs:101:52 [INFO] [stdout] | [INFO] [stdout] 101 | resource: ComPtr::from_raw(ptr as *mut ID3D12Resource) [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/game/graphics/dx12/swapchain.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SwapChain { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 14 | pub swap_chain: ComPtr, [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/game/graphics/dx12/swapchain.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub buffer_count: UINT, [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/game/graphics/dx12/swapchain.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub width: UINT, [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/game/graphics/dx12/swapchain.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub height: UINT, [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/game/graphics/dx12/swapchain.rs:21:46 [INFO] [stdout] | [INFO] [stdout] 20 | impl SwapChain { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 21 | pub unsafe fn new(command_queue: &ComPtr, factory: *mut IDXGIFactory2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:21:81 [INFO] [stdout] | [INFO] [stdout] 21 | pub unsafe fn new(command_queue: &ComPtr, factory: *mut IDXGIFactory2, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | allow_tearing: BOOL, width: UINT, height: UINT, hwnd: HWND) -> Self { [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/game/graphics/dx12/swapchain.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | allow_tearing: BOOL, width: UINT, height: UINT, hwnd: HWND) -> Self { [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/game/graphics/dx12/swapchain.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 22 | allow_tearing: BOOL, width: UINT, height: UINT, hwnd: HWND) -> Self { [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/game/graphics/dx12/swapchain.rs:22:77 [INFO] [stdout] | [INFO] [stdout] 22 | allow_tearing: BOOL, width: UINT, height: UINT, hwnd: HWND) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use ash::vk::HWND; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::swapchain::HWND; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SWAP_CHAIN_DESC1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | let desc = DXGI_SWAP_CHAIN_DESC1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | Format: DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Stereo: FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use ash::vk::FALSE; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::swapchain::FALSE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | SampleDesc: DXGI_SAMPLE_DESC { [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/game/graphics/dx12/swapchain.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | 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_SCALING_STRETCH` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | Scaling: DXGI_SCALING_STRETCH, [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/game/graphics/dx12/swapchain.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | SwapEffect: DXGI_SWAP_EFFECT_FLIP_DISCARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ALPHA_MODE_UNSPECIFIED` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | AlphaMode: DXGI_ALPHA_MODE_UNSPECIFIED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | let mut ptr = get_nullptr() as *mut IDXGISwapChain1; [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/game/graphics/dx12/swapchain.rs:50:48 [INFO] [stdout] | [INFO] [stdout] 50 | command_queue.as_raw() 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/game/graphics/dx12/swapchain.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 20 | impl SwapChain { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 59 | swap_chain: _com_ptr.cast::().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RtlZeroMemory` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | RtlZeroMemory(&mut desc as *mut _ as *mut c_void, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:113:55 [INFO] [stdout] | [INFO] [stdout] 113 | RtlZeroMemory(&mut desc as *mut _ as *mut c_void, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DXGI_ADAPTER_DESC3` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:113:83 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 113 | RtlZeroMemory(&mut desc as *mut _ as *mut c_void, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter4` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:114:41 [INFO] [stdout] | [INFO] [stdout] 114 | let _res = (adapter as *mut IDXGIAdapter4) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:118:16 [INFO] [stdout] | [INFO] [stdout] 118 | if FAILED(_res) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `image` [INFO] [stdout] --> src/game/shared/structs/skinned_model.rs:442:32 [INFO] [stdout] | [INFO] [stdout] 442 | let data = image.to_vec(); [INFO] [stdout] | ^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `image::to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:125:59 [INFO] [stdout] | [INFO] [stdout] 125 | let mut device = std::ptr::null_mut() as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ADAPTER_FLAG3_SOFTWARE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:127:32 [INFO] [stdout] | [INFO] [stdout] 127 | ((desc.Flags & DXGI_ADAPTER_FLAG3_SOFTWARE) == 0) && [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | (SUCCEEDED(D3D12CreateDevice( [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/game/graphics/dx12/graphics.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | (SUCCEEDED(D3D12CreateDevice( [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/game/graphics/dx12/graphics.rs:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | adapter as *mut IUnknown, D3D_FEATURE_LEVEL_12_1, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_12_1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:129:47 [INFO] [stdout] | [INFO] [stdout] 129 | adapter as *mut IUnknown, D3D_FEATURE_LEVEL_12_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:130:49 [INFO] [stdout] | [INFO] [stdout] 130 | &ID3D12Device2::uuidof() as REFIID, &mut device as *mut _ [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/shared/util/util.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_nullptr() -> *mut c_void { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter4` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:138:56 [INFO] [stdout] | [INFO] [stdout] 138 | (factory, ComPtr::from_raw(adapter_ptr as *mut IDXGIAdapter4)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Debug2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 141 | unsafe fn enable_debug() -> ComPtr { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:142:54 [INFO] [stdout] | [INFO] [stdout] 142 | let mut debug = std::ptr::null_mut() as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12GetDebugInterface` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | let res = D3D12GetDebugInterface(&ID3D12Debug2::uuidof() as REFIID, &mut debug as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:143:69 [INFO] [stdout] | [INFO] [stdout] 143 | let res = D3D12GetDebugInterface(&ID3D12Debug2::uuidof() as REFIID, &mut debug as *mut _); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/shared/util/util.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | std::ptr::null_mut() as *mut c_void [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Debug2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:145:50 [INFO] [stdout] | [INFO] [stdout] 145 | let ptr = ComPtr::from_raw(debug as *mut ID3D12Debug2); [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/game/graphics/dx12/graphics.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 146 | ptr.cast::() [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/game/graphics/dx12/graphics.rs:153:49 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 153 | unsafe fn create_info_queue(device: &ComPtr) -> ComPtr { [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/game/shared/util/util.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn log_error(result: HRESULT, msg: &str) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12InfoQueue` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:153:75 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 153 | unsafe fn create_info_queue(device: &ComPtr) -> ComPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12InfoQueue` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 155 | .cast::() [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MESSAGE_SEVERITY_CORRUPTION` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | info_queue.SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_CORRUPTION, TRUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:157:74 [INFO] [stdout] | [INFO] [stdout] 157 | info_queue.SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_CORRUPTION, TRUE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use ash::vk::TRUE; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::swapchain::TRUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/game/shared/util/util.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | if FAILED(result) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MESSAGE_SEVERITY_ERROR` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | info_queue.SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_ERROR, TRUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:158:69 [INFO] [stdout] | [INFO] [stdout] 158 | info_queue.SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_ERROR, TRUE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use ash::vk::TRUE; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::swapchain::TRUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MESSAGE_SEVERITY_WARNING` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:159:39 [INFO] [stdout] | [INFO] [stdout] 159 | info_queue.SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_WARNING, TRUE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:159:71 [INFO] [stdout] | [INFO] [stdout] 159 | info_queue.SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_WARNING, TRUE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use ash::vk::TRUE; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::swapchain::TRUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MESSAGE_SEVERITY_INFO` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:161:40 [INFO] [stdout] | [INFO] [stdout] 161 | let mut ignore_severity = vec![D3D12_MESSAGE_SEVERITY_INFO]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MESSAGE_ID_CLEARRENDERTARGETVIEW_MISMATCHINGCLEARVALUE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | D3D12_MESSAGE_ID_CLEARRENDERTARGETVIEW_MISMATCHINGCLEARVALUE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MESSAGE_ID_MAP_INVALID_NULLRANGE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | D3D12_MESSAGE_ID_MAP_INVALID_NULLRANGE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MESSAGE_ID_UNMAP_INVALID_NULLRANGE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | D3D12_MESSAGE_ID_UNMAP_INVALID_NULLRANGE [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_INFO_QUEUE_FILTER_DESC` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:168:27 [INFO] [stdout] | [INFO] [stdout] 168 | let filter_desc = D3D12_INFO_QUEUE_FILTER_DESC { [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/game/graphics/dx12/graphics.rs:171:53 [INFO] [stdout] | [INFO] [stdout] 171 | NumSeverities: ignore_severity.len() as UINT, [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/game/graphics/dx12/graphics.rs:173:40 [INFO] [stdout] | [INFO] [stdout] 173 | NumIDs: ignore_id.len() as UINT, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_INFO_QUEUE_FILTER` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:176:26 [INFO] [stdout] | [INFO] [stdout] 176 | let mut filter = D3D12_INFO_QUEUE_FILTER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_INFO_QUEUE_FILTER_DESC` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:177:24 [INFO] [stdout] | [INFO] [stdout] 177 | AllowList: D3D12_INFO_QUEUE_FILTER_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIAdapter4` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:193:43 [INFO] [stdout] | [INFO] [stdout] 193 | unsafe fn create_device(adapter: *mut IDXGIAdapter4) -> ComPtr { [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/game/graphics/dx12/graphics.rs:193:68 [INFO] [stdout] | [INFO] [stdout] 43 | impl Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 193 | unsafe fn create_device(adapter: *mut IDXGIAdapter4) -> ComPtr { [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/game/graphics/dx12/graphics.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 195 | let res = D3D12CreateDevice( [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/game/graphics/dx12/graphics.rs:196:29 [INFO] [stdout] | [INFO] [stdout] 196 | adapter as *mut IUnknown, D3D_FEATURE_LEVEL_12_1, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_FEATURE_LEVEL_12_1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:196:39 [INFO] [stdout] | [INFO] [stdout] 196 | adapter as *mut IUnknown, D3D_FEATURE_LEVEL_12_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFIID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:197:41 [INFO] [stdout] | [INFO] [stdout] 197 | &ID3D12Device2::uuidof() as REFIID, &mut device as *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/game/graphics/dx12/graphics.rs:201:41 [INFO] [stdout] | [INFO] [stdout] 201 | ComPtr::from_raw(device as *mut ID3D12Device2) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:205:36 [INFO] [stdout] | [INFO] [stdout] 205 | impl GraphicsBase, Resource> for Graphics { [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 `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:206:89 [INFO] [stdout] | [INFO] [stdout] 205 | impl GraphicsBase, Resource> for Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 206 | fn create_vertex_buffer(&self, _vertices: &[Vertex], _command_buffer: Option>) -> Resource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:210:84 [INFO] [stdout] | [INFO] [stdout] 205 | impl GraphicsBase, Resource> for Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 210 | fn create_index_buffer(&self, _indices: &[u32], _command_buffer: Option>) -> Resource { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:214:43 [INFO] [stdout] | [INFO] [stdout] 205 | impl GraphicsBase, Resource> for Graphics { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 214 | fn get_commands(&self) -> &Vec> { [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/game/graphics/dx12/pipeline.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Pipeline { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 12 | pub root_signature: ComPtr, [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/game/graphics/dx12/pipeline.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pipeline { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 16 | pub unsafe fn new(device: &ComPtr) -> Self { [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/game/graphics/dx12/pipeline.rs:23:57 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pipeline { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 23 | pub unsafe fn create_root_signature(device: &ComPtr) -> ComPtr { [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/game/graphics/dx12/pipeline.rs:23:83 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pipeline { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 23 | pub unsafe fn create_root_signature(device: &ComPtr) -> ComPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_FEATURE_DATA_ROOT_SIGNATURE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | let mut feature_data = D3D12_FEATURE_DATA_ROOT_SIGNATURE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_ROOT_SIGNATURE_VERSION_1_1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | HighestVersion: D3D_ROOT_SIGNATURE_VERSION_1_1 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_FEATURE_ROOT_SIGNATURE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | D3D12_FEATURE_ROOT_SIGNATURE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | &mut feature_data as *mut _ as *mut c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_FEATURE_DATA_ROOT_SIGNATURE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pipeline { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 30 | std::mem::size_of::() as UINT [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/game/graphics/dx12/pipeline.rs:30:73 [INFO] [stdout] | [INFO] [stdout] 30 | std::mem::size_of::() as UINT [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let flags = D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS | [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_ROOT_SIGNATURE_FLAG_DENY_HULL_SHADER_ROOT_ACCESS` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | D3D12_ROOT_SIGNATURE_FLAG_DENY_HULL_SHADER_ROOT_ACCESS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_DESCRIPTOR_RANGE1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:39:34 [INFO] [stdout] | [INFO] [stdout] 39 | vs_descriptor_range.push(D3D12_DESCRIPTOR_RANGE1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_RANGE_TYPE_CBV` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:40:24 [INFO] [stdout] | [INFO] [stdout] 40 | RangeType: D3D12_DESCRIPTOR_RANGE_TYPE_CBV, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:45:48 [INFO] [stdout] | [INFO] [stdout] 45 | OffsetInDescriptorsFromTableStart: D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_DESCRIPTOR_RANGE1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | ps_descriptor_range.push(D3D12_DESCRIPTOR_RANGE1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_RANGE_TYPE_CBV` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | RangeType: D3D12_DESCRIPTOR_RANGE_TYPE_CBV, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | OffsetInDescriptorsFromTableStart: D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_ROOT_CONSTANTS` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | let root_constant = D3D12_ROOT_CONSTANTS { [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/game/graphics/dx12/pipeline.rs:61:74 [INFO] [stdout] | [INFO] [stdout] 61 | Num32BitValues: (std::mem::size_of::() / 4) as UINT [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_ROOT_PARAMETER1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | let mut parameter_1 = D3D12_ROOT_PARAMETER1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | ParameterType: D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_SHADER_VISIBILITY_VERTEX` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | ShaderVisibility: D3D12_SHADER_VISIBILITY_VERTEX [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/game/graphics/dx12/pipeline.rs:71:65 [INFO] [stdout] | [INFO] [stdout] 71 | .NumDescriptorRanges = vs_descriptor_range.len() as UINT; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_ROOT_PARAMETER1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | let mut parameter_2 = D3D12_ROOT_PARAMETER1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | ParameterType: D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_SHADER_VISIBILITY_PIXEL` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | ShaderVisibility: D3D12_SHADER_VISIBILITY_PIXEL [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/game/graphics/dx12/pipeline.rs:84:65 [INFO] [stdout] | [INFO] [stdout] 84 | .NumDescriptorRanges = ps_descriptor_range.len() as UINT; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_ROOT_PARAMETER1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | let mut parameter_3 = D3D12_ROOT_PARAMETER1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_ROOT_PARAMETER_TYPE_32BIT_CONSTANTS` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | ParameterType: D3D12_ROOT_PARAMETER_TYPE_32BIT_CONSTANTS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_SHADER_VISIBILITY_PIXEL` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | ShaderVisibility: D3D12_SHADER_VISIBILITY_PIXEL [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_STATIC_SAMPLER_DESC` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | let static_sampler = D3D12_STATIC_SAMPLER_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_FILTER_ANISOTROPIC` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | Filter: D3D12_FILTER_ANISOTROPIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_TEXTURE_ADDRESS_MODE_CLAMP` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:98:23 [INFO] [stdout] | [INFO] [stdout] 98 | AddressU: D3D12_TEXTURE_ADDRESS_MODE_CLAMP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_TEXTURE_ADDRESS_MODE_CLAMP` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:99:23 [INFO] [stdout] | [INFO] [stdout] 99 | AddressV: D3D12_TEXTURE_ADDRESS_MODE_CLAMP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_TEXTURE_ADDRESS_MODE_CLAMP` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | AddressW: D3D12_TEXTURE_ADDRESS_MODE_CLAMP, [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/game/graphics/dx12/pipeline.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | ComparisonFunc: D3D12_COMPARISON_FUNC_ALWAYS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_STATIC_BORDER_COLOR_OPAQUE_BLACK` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | BorderColor: D3D12_STATIC_BORDER_COLOR_OPAQUE_BLACK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_SHADER_VISIBILITY_PIXEL` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | ShaderVisibility: D3D12_SHADER_VISIBILITY_PIXEL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_VERSIONED_ROOT_SIGNATURE_DESC` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | let mut versioned_desc = D3D12_VERSIONED_ROOT_SIGNATURE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_ROOT_SIGNATURE_VERSION_1_1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | Version: D3D_ROOT_SIGNATURE_VERSION_1_1, [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/game/graphics/dx12/pipeline.rs:118:55 [INFO] [stdout] | [INFO] [stdout] 118 | desc.NumParameters = root_parameters.len() as UINT; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DBlob` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:123:51 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pipeline { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 123 | let mut success_blob = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DBlob` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:124:49 [INFO] [stdout] | [INFO] [stdout] 15 | impl Pipeline { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 124 | let mut error_blob = std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DBlob` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:125:51 [INFO] [stdout] | [INFO] [stdout] 125 | let mut ref_1 = &mut success_blob as *mut ID3DBlob; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3DBlob` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:126:49 [INFO] [stdout] | [INFO] [stdout] 126 | let mut ref_2 = &mut error_blob as *mut ID3DBlob; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12SerializeVersionedRootSignature` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | let mut res = D3D12SerializeVersionedRootSignature( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/pipeline.rs:145:47 [INFO] [stdout] | [INFO] [stdout] 145 | &ID3D12RootSignature::uuidof() as REFGUID, [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/game/graphics/dx12/pipeline.rs:150:38 [INFO] [stdout] | [INFO] [stdout] 150 | ComPtr::from_raw(ptr as *mut ID3D12RootSignature) [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/game/graphics/dx12/resource.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Resource { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 19 | pub resource_type: ResourceType, [INFO] [stdout] 20 | pub resource: ComPtr, [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/game/graphics/dx12/resource.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 23 | impl Resource { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 24 | pub unsafe fn new(device: &ComPtr, resource_type: ResourceType, width: UINT64, height: UINT, mip_levels: UINT16, forma... [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT64` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:24:91 [INFO] [stdout] | [INFO] [stdout] 24 | pub unsafe fn new(device: &ComPtr, resource_type: ResourceType, width: UINT64, height: UINT, mip_levels: UINT16, forma... [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/game/graphics/dx12/resource.rs:24:107 [INFO] [stdout] | [INFO] [stdout] 24 | pub unsafe fn new(device: &ComPtr, resource_type: ResourceType, width: UINT64, height: UINT, mip_levels: UINT16, forma... [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UINT16` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:24:125 [INFO] [stdout] | [INFO] [stdout] 24 | ...ourceType, width: UINT64, height: UINT, mip_levels: UINT16, format: DXGI_FORMAT, resource_state: D3D12_RESOURCE_STATES, clear_value: *... [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/game/graphics/dx12/resource.rs:24:141 [INFO] [stdout] | [INFO] [stdout] 24 | ...INT64, height: UINT, mip_levels: UINT16, format: DXGI_FORMAT, resource_state: D3D12_RESOURCE_STATES, clear_value: *const D3D12_CLEAR_V... [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/game/graphics/dx12/resource.rs:24:170 [INFO] [stdout] | [INFO] [stdout] 24 | ...INT16, format: DXGI_FORMAT, resource_state: D3D12_RESOURCE_STATES, clear_value: *const D3D12_CLEAR_VALUE, resource_flag: D3D12_RESOURC... [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/game/graphics/dx12/resource.rs:24:213 [INFO] [stdout] | [INFO] [stdout] 24 | ...e: D3D12_RESOURCE_STATES, clear_value: *const D3D12_CLEAR_VALUE, resource_flag: D3D12_RESOURCE_FLAGS) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_FLAGS` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:24:247 [INFO] [stdout] | [INFO] [stdout] 24 | ...ue: *const D3D12_CLEAR_VALUE, resource_flag: D3D12_RESOURCE_FLAGS) -> Self { [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/game/graphics/dx12/resource.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let mut desc = D3D12_RESOURCE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_DIMENSION_TEXTURE2D` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | Dimension: D3D12_RESOURCE_DIMENSION_TEXTURE2D, [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/game/graphics/dx12/resource.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | SampleDesc: DXGI_SAMPLE_DESC { Count: 1, Quality: 0 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_TEXTURE_LAYOUT_UNKNOWN` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | Layout: D3D12_TEXTURE_LAYOUT_UNKNOWN, [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/game/graphics/dx12/resource.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | let mut heap_properties = D3D12_HEAP_PROPERTIES { [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/game/graphics/dx12/resource.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | Type: D3D12_HEAP_TYPE_DEFAULT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageFormat` [INFO] [stdout] --> src/game/shared/structs/skinned_model.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{ImageFormat, ImageDecoder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_CPU_PAGE_PROPERTY_UNKNOWN` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | 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/game/graphics/dx12/resource.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | MemoryPoolPreference: D3D12_MEMORY_POOL_UNKNOWN, [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/game/graphics/dx12/resource.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | D3D12_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:55:50 [INFO] [stdout] | [INFO] [stdout] 55 | &ID3D12Resource::uuidof() as REFGUID, [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/game/graphics/dx12/resource.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | desc.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/game/graphics/dx12/resource.rs:65:31 [INFO] [stdout] | [INFO] [stdout] 65 | desc.Format = DXGI_FORMAT_UNKNOWN; [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/game/graphics/dx12/resource.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | desc.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_HEAP_FLAG_NONE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | D3D12_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:73:50 [INFO] [stdout] | [INFO] [stdout] 73 | &ID3D12Resource::uuidof() as REFGUID, [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/game/graphics/dx12/resource.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | desc.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/game/graphics/dx12/resource.rs:83:31 [INFO] [stdout] | [INFO] [stdout] 83 | desc.Format = DXGI_FORMAT_UNKNOWN; [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/game/graphics/dx12/resource.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | desc.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_HEAP_TYPE_UPLOAD` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | heap_properties.Type = D3D12_HEAP_TYPE_UPLOAD; [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/game/graphics/dx12/resource.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | D3D12_HEAP_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `REFGUID` in this scope [INFO] [stdout] --> src/game/graphics/dx12/resource.rs:92:50 [INFO] [stdout] | [INFO] [stdout] 92 | &ID3D12Resource::uuidof() as REFGUID, [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/game/graphics/dx12/resource.rs:101:52 [INFO] [stdout] | [INFO] [stdout] 101 | resource: ComPtr::from_raw(ptr as *mut ID3D12Resource) [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/game/graphics/dx12/swapchain.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct SwapChain { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 14 | pub swap_chain: ComPtr, [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/game/graphics/dx12/swapchain.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | pub buffer_count: UINT, [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/game/graphics/dx12/swapchain.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub width: UINT, [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/game/graphics/dx12/swapchain.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | pub height: UINT, [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/game/graphics/dx12/swapchain.rs:21:46 [INFO] [stdout] | [INFO] [stdout] 20 | impl SwapChain { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 21 | pub unsafe fn new(command_queue: &ComPtr, factory: *mut IDXGIFactory2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGIFactory2` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:21:81 [INFO] [stdout] | [INFO] [stdout] 21 | pub unsafe fn new(command_queue: &ComPtr, factory: *mut IDXGIFactory2, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | allow_tearing: BOOL, width: UINT, height: UINT, hwnd: HWND) -> Self { [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/game/graphics/dx12/swapchain.rs:22:51 [INFO] [stdout] | [INFO] [stdout] 22 | allow_tearing: BOOL, width: UINT, height: UINT, hwnd: HWND) -> Self { [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/game/graphics/dx12/swapchain.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 22 | allow_tearing: BOOL, width: UINT, height: UINT, hwnd: HWND) -> Self { [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/game/graphics/dx12/swapchain.rs:22:77 [INFO] [stdout] | [INFO] [stdout] 22 | allow_tearing: BOOL, width: UINT, height: UINT, hwnd: HWND) -> Self { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use ash::vk::HWND; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::swapchain::HWND; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SWAP_CHAIN_DESC1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | let desc = DXGI_SWAP_CHAIN_DESC1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_B8G8R8A8_UNORM` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | Format: DXGI_FORMAT_B8G8R8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | Stereo: FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use ash::vk::FALSE; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::swapchain::FALSE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | SampleDesc: DXGI_SAMPLE_DESC { [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/game/graphics/dx12/swapchain.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | 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_SCALING_STRETCH` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | Scaling: DXGI_SCALING_STRETCH, [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/game/graphics/dx12/swapchain.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | SwapEffect: DXGI_SWAP_EFFECT_FLIP_DISCARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_ALPHA_MODE_UNSPECIFIED` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | AlphaMode: DXGI_ALPHA_MODE_UNSPECIFIED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain1` in this scope [INFO] [stdout] --> src/game/graphics/dx12/swapchain.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | let mut ptr = get_nullptr() as *mut IDXGISwapChain1; [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/game/graphics/dx12/swapchain.rs:50:48 [INFO] [stdout] | [INFO] [stdout] 50 | command_queue.as_raw() 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/game/graphics/dx12/swapchain.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 20 | impl SwapChain { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 59 | swap_chain: _com_ptr.cast::().unwrap(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `image` [INFO] [stdout] --> src/game/shared/structs/skinned_model.rs:442:32 [INFO] [stdout] | [INFO] [stdout] 442 | let data = image.to_vec(); [INFO] [stdout] | ^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | help: use the path separator to refer to an item: `image::to_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/shared/util/util.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_nullptr() -> *mut c_void { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/game/shared/util/util.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | std::ptr::null_mut() as *mut c_void [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::game::graphics::vk::image::c_void; [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HRESULT` in this scope [INFO] [stdout] --> src/game/shared/util/util.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn log_error(result: HRESULT, msg: &str) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FAILED` in this scope [INFO] [stdout] --> src/game/shared/util/util.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | if FAILED(result) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageFormat` [INFO] [stdout] --> src/game/shared/structs/skinned_model.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{ImageFormat, ImageDecoder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hwnd` found for reference `&winit::window::Window` in the current scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | _window.hwnd() as HWND); [INFO] [stdout] | ^^^^ method not found in `&winit::window::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hwnd` found for reference `&winit::window::Window` in the current scope [INFO] [stdout] --> src/game/graphics/dx12/graphics.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | _window.hwnd() as HWND); [INFO] [stdout] | ^^^^ method not found in `&winit::window::Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_surface` found for struct `game::graphics::vk::graphics::Graphics` in the current scope [INFO] [stdout] --> src/game/graphics/vk/graphics.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Graphics { [INFO] [stdout] | ------------------- function or associated item `create_surface` not found for this [INFO] [stdout] ... [INFO] [stdout] 97 | let surface = Self::create_surface(window, &entry, &instance); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `game::graphics::vk::graphics::Graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `create_surface` found for struct `game::graphics::vk::graphics::Graphics` in the current scope [INFO] [stdout] --> src/game/graphics/vk/graphics.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Graphics { [INFO] [stdout] | ------------------- function or associated item `create_surface` not found for this [INFO] [stdout] ... [INFO] [stdout] 97 | let surface = Self::create_surface(window, &entry, &instance); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `game::graphics::vk::graphics::Graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 327 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0423, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `demo_game_rs` [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: aborting due to 327 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0423, E0425, E0432, E0433, E0599. [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" "6346ea82ccc062e83ef7b698bea13c3f64a8052164da00fc69f5ed6d45fada21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6346ea82ccc062e83ef7b698bea13c3f64a8052164da00fc69f5ed6d45fada21", kill_on_drop: false }` [INFO] [stdout] 6346ea82ccc062e83ef7b698bea13c3f64a8052164da00fc69f5ed6d45fada21