[INFO] cloning repository https://github.com/ShinduHub/d3d12rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ShinduHub/d3d12rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShinduHub%2Fd3d12rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShinduHub%2Fd3d12rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4dd4eaefe850f8ecc7f854113a81a0d8bc491ddb [INFO] checking ShinduHub/d3d12rs against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShinduHub%2Fd3d12rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ShinduHub/d3d12rs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ShinduHub/d3d12rs [INFO] finished tweaking git repo https://github.com/ShinduHub/d3d12rs [INFO] tweaked toml for git repo https://github.com/ShinduHub/d3d12rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/ShinduHub/d3d12rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cocoa v0.20.1 [INFO] [stderr] Downloaded core-graphics v0.19.0 [INFO] [stderr] Downloaded instant v0.1.4 [INFO] [stderr] Downloaded directx_math v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 818315a897923ce83f392f122b7c3fd7074e687dc45593abab2784491bc50a9e [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" "818315a897923ce83f392f122b7c3fd7074e687dc45593abab2784491bc50a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "818315a897923ce83f392f122b7c3fd7074e687dc45593abab2784491bc50a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "818315a897923ce83f392f122b7c3fd7074e687dc45593abab2784491bc50a9e", kill_on_drop: false }` [INFO] [stdout] 818315a897923ce83f392f122b7c3fd7074e687dc45593abab2784491bc50a9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1a3c2d603e2bf89292d5e2839bec43bfe0af33285010db6a271f07bd47cfe05 [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" "c1a3c2d603e2bf89292d5e2839bec43bfe0af33285010db6a271f07bd47cfe05", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling directx_math v0.1.0 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking instant v0.1.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.8.3 [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 smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking d3d12rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | um::{d3d12::*, d3d12sdklayers::*, d3dcommon::*, d3dcompiler::*, unknwnbase::*}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | um::{d3d12::*, d3d12sdklayers::*, d3dcommon::*, d3dcompiler::*, unknwnbase::*}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | let hwnd = window_handle.hwnd as winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | let hwnd = window_handle.hwnd as winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | unsafe { winapi::um::synchapi::CreateEventW(std::ptr::null_mut(), 0, 0, std::ptr::null()) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:224:34 [INFO] [stdout] | [INFO] [stdout] 224 | unsafe { winapi::um::handleapi::CloseHandle(fence_event) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | fence_event: winapi::um::winnt::HANDLE, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | winapi::um::synchapi::WaitForSingleObject(fence_event, winapi::um::winbase::INFINITE) [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:250:76 [INFO] [stdout] | [INFO] [stdout] 250 | winapi::um::synchapi::WaitForSingleObject(fence_event, winapi::um::winbase::INFINITE) [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:156:26 [INFO] [stdout] | [INFO] [stdout] 156 | unsafe { winapi::um::synchapi::CreateEventW(std::ptr::null_mut(), 0, 0, std::ptr::null()) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:224:34 [INFO] [stdout] | [INFO] [stdout] 224 | unsafe { winapi::um::handleapi::CloseHandle(fence_event) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:236:26 [INFO] [stdout] | [INFO] [stdout] 236 | fence_event: winapi::um::winnt::HANDLE, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:250:21 [INFO] [stdout] | [INFO] [stdout] 250 | winapi::um::synchapi::WaitForSingleObject(fence_event, winapi::um::winbase::INFINITE) [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:250:76 [INFO] [stdout] | [INFO] [stdout] 250 | winapi::um::synchapi::WaitForSingleObject(fence_event, winapi::um::winbase::INFINITE) [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:449:20 [INFO] [stdout] | [INFO] [stdout] 449 | hwnd: &winapi::shared::windef::HWND, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:449:20 [INFO] [stdout] | [INFO] [stdout] 449 | hwnd: &winapi::shared::windef::HWND, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | if !SUCCEEDED(unsafe { [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/main.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | &D3D12_HEAP_PROPERTIES { [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/main.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | Type: D3D12_HEAP_TYPE_UPLOAD, [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/main.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | 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/main.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | 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/main.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | D3D12_HEAP_FLAG_NONE, [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/main.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | &D3D12_RESOURCE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_DIMENSION_BUFFER` in this scope [INFO] [stdout] --> src/main.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | 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/main.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | Format: DXGI_FORMAT_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/main.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | SampleDesc: DXGI_SAMPLE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_TEXTURE_LAYOUT_ROW_MAJOR` in this scope [INFO] [stdout] --> src/main.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | Layout: D3D12_TEXTURE_LAYOUT_ROW_MAJOR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_FLAG_NONE` in this scope [INFO] [stdout] --> src/main.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | Flags: D3D12_RESOURCE_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_GENERIC_READ` in this scope [INFO] [stdout] --> src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | D3D12_RESOURCE_STATE_GENERIC_READ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12Resource` in this scope [INFO] [stdout] --> src/main.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | &IID_ID3D12Resource, [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/main.rs:124:47 [INFO] [stdout] | [INFO] [stdout] 124 | let vertex_buffer = vertex_buffer as *mut ID3D12Resource; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RANGE` in this scope [INFO] [stdout] --> src/main.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | let read_range = D3D12_RANGE { Begin: 0, End: 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/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | if !SUCCEEDED(unsafe { (&*vertex_buffer).Map(0, &read_range, &mut vertex_data_begin) }) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_VERTEX_BUFFER_VIEW` in this scope [INFO] [stdout] --> src/main.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | let vertex_buffer_view = D3D12_VERTEX_BUFFER_VIEW { [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/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | if !SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_FENCE_FLAG_NONE` in this scope [INFO] [stdout] --> src/main.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | (&*device).CreateFence(0, D3D12_FENCE_FLAG_NONE, &IID_ID3D12Fence, &mut fence) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12Fence` in this scope [INFO] [stdout] --> src/main.rs:146:59 [INFO] [stdout] | [INFO] [stdout] 146 | (&*device).CreateFence(0, D3D12_FENCE_FLAG_NONE, &IID_ID3D12Fence, &mut fence) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Fence` in this scope [INFO] [stdout] --> src/main.rs:151:31 [INFO] [stdout] | [INFO] [stdout] 151 | let fence = fence as *mut ID3D12Fence; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandList` in this scope [INFO] [stdout] --> src/main.rs:198:59 [INFO] [stdout] | [INFO] [stdout] 198 | let command_lists = [command_list as *mut ID3D12CommandList]; [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/main.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | if !SUCCEEDED(unsafe { (&*swap_chain).Present(1, 0) }) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain4` in this scope [INFO] [stdout] --> src/main.rs:232:21 [INFO] [stdout] | [INFO] [stdout] 232 | swapchain: *mut IDXGISwapChain4, [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/main.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | command_queue: *mut ID3D12CommandQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Fence` in this scope [INFO] [stdout] --> src/main.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | fence: *mut ID3D12Fence, [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/main.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | if !SUCCEEDED(unsafe { (&*command_queue).Signal(fence, prev_fence_value) }) { [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/main.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | if !SUCCEEDED(unsafe { (&*fence).SetEventOnCompletion(prev_fence_value, fence_event) }) { [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/main.rs:259:29 [INFO] [stdout] | [INFO] [stdout] 259 | command_allocator: *mut ID3D12CommandAllocator, [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/main.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 260 | command_list: *mut ID3D12GraphicsCommandList, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/main.rs:261:26 [INFO] [stdout] | [INFO] [stdout] 261 | pipeline_state: *mut ID3D12PipelineState, [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/main.rs:262:26 [INFO] [stdout] | [INFO] [stdout] 262 | root_signature: *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/main.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | render_targets: &[*mut ID3D12Resource; FRAME_COUNT as _], [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/main.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | descriptor_heap: *mut ID3D12DescriptorHeap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_VERTEX_BUFFER_VIEW` in this scope [INFO] [stdout] --> src/main.rs:267:26 [INFO] [stdout] | [INFO] [stdout] 267 | vertex_buffer_view: &D3D12_VERTEX_BUFFER_VIEW, [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/main.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | if !SUCCEEDED(unsafe { (&*command_allocator).Reset() }) { [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/main.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | if !SUCCEEDED(unsafe { (&*command_list).Reset(command_allocator, pipeline_state) }) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_VIEWPORT` in this scope [INFO] [stdout] --> src/main.rs:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | &D3D12_VIEWPORT { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MIN_DEPTH` in this scope [INFO] [stdout] --> src/main.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | MaxDepth: D3D12_MIN_DEPTH, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MAX_DEPTH` in this scope [INFO] [stdout] --> src/main.rs:285:27 [INFO] [stdout] | [INFO] [stdout] 285 | MinDepth: D3D12_MAX_DEPTH, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RECT` in this scope [INFO] [stdout] --> src/main.rs:292:14 [INFO] [stdout] | [INFO] [stdout] 292 | &D3D12_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_BARRIER` in this scope [INFO] [stdout] --> src/main.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | &D3D12_RESOURCE_BARRIER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_TYPE_TRANSITION` in this scope [INFO] [stdout] --> src/main.rs:304:23 [INFO] [stdout] | [INFO] [stdout] 304 | Type: D3D12_RESOURCE_BARRIER_TYPE_TRANSITION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_FLAG_NONE` in this scope [INFO] [stdout] --> src/main.rs:305:24 [INFO] [stdout] | [INFO] [stdout] 305 | Flags: D3D12_RESOURCE_BARRIER_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_BARRIER_u` in this scope [INFO] [stdout] --> src/main.rs:308:44 [INFO] [stdout] | [INFO] [stdout] 257 | fn populate_command_list( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 308 | std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_TRANSITION_BARRIER` in this scope [INFO] [stdout] --> src/main.rs:310:25 [INFO] [stdout] | [INFO] [stdout] 310 | D3D12_RESOURCE_TRANSITION_BARRIER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope [INFO] [stdout] --> src/main.rs:312:42 [INFO] [stdout] | [INFO] [stdout] 312 | ... StateBefore: D3D12_RESOURCE_STATE_PRESENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_RENDER_TARGET` in this scope [INFO] [stdout] --> src/main.rs:313:41 [INFO] [stdout] | [INFO] [stdout] 313 | ... StateAfter: D3D12_RESOURCE_STATE_RENDER_TARGET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES` in this scope [INFO] [stdout] --> src/main.rs:314:42 [INFO] [stdout] | [INFO] [stdout] 314 | ... Subresource: D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:321:29 [INFO] [stdout] | [INFO] [stdout] 321 | let descriptor_handle = D3D12_CPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST` in this scope [INFO] [stdout] --> src/main.rs:331:54 [INFO] [stdout] | [INFO] [stdout] 331 | unsafe { (&*command_list).IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_BARRIER` in this scope [INFO] [stdout] --> src/main.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | &D3D12_RESOURCE_BARRIER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_TYPE_TRANSITION` in this scope [INFO] [stdout] --> src/main.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | Type: D3D12_RESOURCE_BARRIER_TYPE_TRANSITION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_FLAG_NONE` in this scope [INFO] [stdout] --> src/main.rs:339:24 [INFO] [stdout] | [INFO] [stdout] 339 | Flags: D3D12_RESOURCE_BARRIER_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_BARRIER_u` in this scope [INFO] [stdout] --> src/main.rs:342:44 [INFO] [stdout] | [INFO] [stdout] 257 | fn populate_command_list( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 342 | std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_TRANSITION_BARRIER` in this scope [INFO] [stdout] --> src/main.rs:344:25 [INFO] [stdout] | [INFO] [stdout] 344 | D3D12_RESOURCE_TRANSITION_BARRIER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_RENDER_TARGET` in this scope [INFO] [stdout] --> src/main.rs:346:42 [INFO] [stdout] | [INFO] [stdout] 346 | ... StateBefore: D3D12_RESOURCE_STATE_RENDER_TARGET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope [INFO] [stdout] --> src/main.rs:347:41 [INFO] [stdout] | [INFO] [stdout] 347 | ... StateAfter: D3D12_RESOURCE_STATE_PRESENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES` in this scope [INFO] [stdout] --> src/main.rs:348:42 [INFO] [stdout] | [INFO] [stdout] 348 | ... Subresource: D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES, [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/main.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | if !SUCCEEDED(unsafe { (&*command_list).Close() }) { [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/main.rs:360:29 [INFO] [stdout] | [INFO] [stdout] 360 | fn create_factory() -> *mut IDXGIFactory6 { [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/main.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | if SUCCEEDED(unsafe { D3D12GetDebugInterface(&IID_ID3D12Debug, &mut debug_interface) }) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12GetDebugInterface` in this scope [INFO] [stdout] --> src/main.rs:365:31 [INFO] [stdout] | [INFO] [stdout] 365 | if SUCCEEDED(unsafe { D3D12GetDebugInterface(&IID_ID3D12Debug, &mut debug_interface) }) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12Debug` in this scope [INFO] [stdout] --> src/main.rs:365:55 [INFO] [stdout] | [INFO] [stdout] 365 | if SUCCEEDED(unsafe { D3D12GetDebugInterface(&IID_ID3D12Debug, &mut debug_interface) }) { [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/main.rs:366:59 [INFO] [stdout] | [INFO] [stdout] 366 | let debug_interface = debug_interface as *mut ID3D12Debug; [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/main.rs:368:30 [INFO] [stdout] | [INFO] [stdout] 368 | factory_flags |= DXGI_CREATE_FACTORY_DEBUG; [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/main.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | if !SUCCEEDED(unsafe { CreateDXGIFactory2(factory_flags, &IID_IDXGIFactory6, &mut factory) }) { [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/main.rs:374:28 [INFO] [stdout] | [INFO] [stdout] 374 | if !SUCCEEDED(unsafe { CreateDXGIFactory2(factory_flags, &IID_IDXGIFactory6, &mut factory) }) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_IDXGIFactory6` in this scope [INFO] [stdout] --> src/main.rs:374:63 [INFO] [stdout] | [INFO] [stdout] 374 | if !SUCCEEDED(unsafe { CreateDXGIFactory2(factory_flags, &IID_IDXGIFactory6, &mut factory) }) { [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/main.rs:381:34 [INFO] [stdout] | [INFO] [stdout] 381 | fn get_adapter<'t>(factory: *mut IDXGIFactory6) -> *mut IDXGIAdapter4 { [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/main.rs:381:57 [INFO] [stdout] | [INFO] [stdout] 381 | fn get_adapter<'t>(factory: *mut IDXGIFactory6) -> *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 `SUCCEEDED` in this scope [INFO] [stdout] --> src/main.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | if !SUCCEEDED(unsafe { [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/main.rs:387:13 [INFO] [stdout] | [INFO] [stdout] 387 | DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_IDXGIAdapter4` in this scope [INFO] [stdout] --> src/main.rs:388:14 [INFO] [stdout] | [INFO] [stdout] 388 | &IID_IDXGIAdapter4, [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/main.rs:395:35 [INFO] [stdout] | [INFO] [stdout] 395 | let adapter = adapter as *mut IDXGIAdapter4; [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/main.rs:399:60 [INFO] [stdout] | [INFO] [stdout] 381 | fn get_adapter<'t>(factory: *mut IDXGIFactory6) -> *mut IDXGIAdapter4 { [INFO] [stdout] | - help: you might be missing a type parameter: `, DXGI_ADAPTER_DESC3` [INFO] [stdout] ... [INFO] [stdout] 399 | let mut adapter_desc = unsafe { std::mem::zeroed::() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/main.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | if !SUCCEEDED(unsafe { (&*adapter).GetDesc3(&mut adapter_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/main.rs:408:32 [INFO] [stdout] | [INFO] [stdout] 408 | fn create_device(adapter: *mut IDXGIAdapter4) -> *mut ID3D12Device2 { [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/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | if !SUCCEEDED(unsafe { [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/main.rs:408:55 [INFO] [stdout] | [INFO] [stdout] 408 | fn create_device(adapter: *mut IDXGIAdapter4) -> *mut ID3D12Device2 { [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/main.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | &D3D12_HEAP_PROPERTIES { [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/main.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | if !SUCCEEDED(unsafe { [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/main.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | Type: D3D12_HEAP_TYPE_UPLOAD, [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/main.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | D3D12CreateDevice( [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/main.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | CPUPageProperty: D3D12_CPU_PAGE_PROPERTY_UNKNOWN, [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/main.rs:413:29 [INFO] [stdout] | [INFO] [stdout] 413 | adapter as *mut IUnknown, [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/main.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | MemoryPoolPreference: D3D12_MEMORY_POOL_UNKNOWN, [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/main.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | D3D_FEATURE_LEVEL_12_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12Device2` in this scope [INFO] [stdout] --> src/main.rs:415:14 [INFO] [stdout] | [INFO] [stdout] 415 | &IID_ID3D12Device2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_HEAP_FLAG_NONE` in this scope [INFO] [stdout] --> src/main.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | D3D12_HEAP_FLAG_NONE, [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/main.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | &D3D12_RESOURCE_DESC { [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/main.rs:425:38 [INFO] [stdout] | [INFO] [stdout] 425 | fn create_command_queue(device: *mut ID3D12Device2) -> *mut ID3D12CommandQueue { [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/main.rs:425:61 [INFO] [stdout] | [INFO] [stdout] 425 | fn create_command_queue(device: *mut ID3D12Device2) -> *mut ID3D12CommandQueue { [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/main.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | Dimension: D3D12_RESOURCE_DIMENSION_BUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [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/main.rs:428:30 [INFO] [stdout] | [INFO] [stdout] 428 | let command_queue_desc = D3D12_COMMAND_QUEUE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_UNKNOWN` in this scope [INFO] [stdout] --> src/main.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | Format: DXGI_FORMAT_UNKNOWN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMMAND_QUEUE_FLAG_NONE` in this scope [INFO] [stdout] --> src/main.rs:429:16 [INFO] [stdout] | [INFO] [stdout] 429 | Flags: D3D12_COMMAND_QUEUE_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/main.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | SampleDesc: DXGI_SAMPLE_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/main.rs:430:15 [INFO] [stdout] | [INFO] [stdout] 430 | 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_TEXTURE_LAYOUT_ROW_MAJOR` in this scope [INFO] [stdout] --> src/main.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | Layout: D3D12_TEXTURE_LAYOUT_ROW_MAJOR, [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/main.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | if !SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_FLAG_NONE` in this scope [INFO] [stdout] --> src/main.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | Flags: D3D12_RESOURCE_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12CommandQueue` in this scope [INFO] [stdout] --> src/main.rs:437:14 [INFO] [stdout] | [INFO] [stdout] 437 | &IID_ID3D12CommandQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_GENERIC_READ` in this scope [INFO] [stdout] --> src/main.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | D3D12_RESOURCE_STATE_GENERIC_READ, [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/main.rs:450:19 [INFO] [stdout] | [INFO] [stdout] 450 | factory: *mut IDXGIFactory6, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12Resource` in this scope [INFO] [stdout] --> src/main.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | &IID_ID3D12Resource, [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/main.rs:451:25 [INFO] [stdout] | [INFO] [stdout] 451 | command_queue: *mut ID3D12CommandQueue, [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/main.rs:124:47 [INFO] [stdout] | [INFO] [stdout] 124 | let vertex_buffer = vertex_buffer as *mut ID3D12Resource; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain4` in this scope [INFO] [stdout] --> src/main.rs:452:12 [INFO] [stdout] | [INFO] [stdout] 452 | ) -> (*mut IDXGISwapChain4, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RANGE` in this scope [INFO] [stdout] --> src/main.rs:127:22 [INFO] [stdout] | [INFO] [stdout] 127 | let read_range = D3D12_RANGE { Begin: 0, End: 0 }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [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/main.rs:455:27 [INFO] [stdout] | [INFO] [stdout] 455 | let swap_chain_desc = DXGI_SWAP_CHAIN_DESC1 { [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/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | if !SUCCEEDED(unsafe { (&*vertex_buffer).Map(0, &read_range, &mut vertex_data_begin) }) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/main.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | Format: DXGI_FORMAT_R8G8B8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/main.rs:459:21 [INFO] [stdout] | [INFO] [stdout] 459 | SampleDesc: DXGI_SAMPLE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_VERTEX_BUFFER_VIEW` in this scope [INFO] [stdout] --> src/main.rs:137:30 [INFO] [stdout] | [INFO] [stdout] 137 | let vertex_buffer_view = D3D12_VERTEX_BUFFER_VIEW { [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/main.rs:463:22 [INFO] [stdout] | [INFO] [stdout] 463 | BufferUsage: DXGI_USAGE_RENDER_TARGET_OUTPUT, [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/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | if !SUCCEEDED(unsafe { [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/main.rs:465:21 [INFO] [stdout] | [INFO] [stdout] 465 | SwapEffect: DXGI_SWAP_EFFECT_FLIP_DISCARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_FENCE_FLAG_NONE` in this scope [INFO] [stdout] --> src/main.rs:146:35 [INFO] [stdout] | [INFO] [stdout] 146 | (&*device).CreateFence(0, D3D12_FENCE_FLAG_NONE, &IID_ID3D12Fence, &mut fence) [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/main.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | if !SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12Fence` in this scope [INFO] [stdout] --> src/main.rs:146:59 [INFO] [stdout] | [INFO] [stdout] 146 | (&*device).CreateFence(0, D3D12_FENCE_FLAG_NONE, &IID_ID3D12Fence, &mut fence) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Fence` in this scope [INFO] [stdout] --> src/main.rs:151:31 [INFO] [stdout] | [INFO] [stdout] 151 | let fence = fence as *mut ID3D12Fence; [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/main.rs:471:35 [INFO] [stdout] | [INFO] [stdout] 471 | command_queue as *mut IUnknown, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12CommandList` in this scope [INFO] [stdout] --> src/main.rs:198:59 [INFO] [stdout] | [INFO] [stdout] 198 | let command_lists = [command_list as *mut ID3D12CommandList]; [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/main.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | if !SUCCEEDED(unsafe { [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/main.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | if !SUCCEEDED(unsafe { (&*swap_chain).Present(1, 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/main.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 490 | if !SUCCEEDED(unsafe { swap_chain.QueryInterface(&IID_IDXGISwapChain4, &mut swap_chain_4) }) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain4` in this scope [INFO] [stdout] --> src/main.rs:232:21 [INFO] [stdout] | [INFO] [stdout] 232 | swapchain: *mut IDXGISwapChain4, [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/main.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | command_queue: *mut ID3D12CommandQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_IDXGISwapChain4` in this scope [INFO] [stdout] --> src/main.rs:490:55 [INFO] [stdout] | [INFO] [stdout] 490 | if !SUCCEEDED(unsafe { swap_chain.QueryInterface(&IID_IDXGISwapChain4, &mut swap_chain_4) }) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Fence` in this scope [INFO] [stdout] --> src/main.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | fence: *mut ID3D12Fence, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain4` in this scope [INFO] [stdout] --> src/main.rs:493:45 [INFO] [stdout] | [INFO] [stdout] 493 | let swap_chain_4 = swap_chain_4 as *mut IDXGISwapChain4; [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/main.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | if !SUCCEEDED(unsafe { (&*command_queue).Signal(fence, prev_fence_value) }) { [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/main.rs:500:40 [INFO] [stdout] | [INFO] [stdout] 500 | fn create_discriptor_heap(device: *mut ID3D12Device2) -> (*mut ID3D12DescriptorHeap, u32) { [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/main.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | if !SUCCEEDED(unsafe { (&*fence).SetEventOnCompletion(prev_fence_value, fence_event) }) { [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/main.rs:259:29 [INFO] [stdout] | [INFO] [stdout] 259 | command_allocator: *mut ID3D12CommandAllocator, [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/main.rs:500:64 [INFO] [stdout] | [INFO] [stdout] 500 | fn create_discriptor_heap(device: *mut ID3D12Device2) -> (*mut ID3D12DescriptorHeap, u32) { [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/main.rs:501:32 [INFO] [stdout] | [INFO] [stdout] 501 | let descriptor_heap_desc = D3D12_DESCRIPTOR_HEAP_DESC { [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/main.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 260 | command_list: *mut ID3D12GraphicsCommandList, [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/main.rs:503:15 [INFO] [stdout] | [INFO] [stdout] 503 | Type: D3D12_DESCRIPTOR_HEAP_TYPE_RTV, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/main.rs:261:26 [INFO] [stdout] | [INFO] [stdout] 261 | pipeline_state: *mut ID3D12PipelineState, [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/main.rs:504:16 [INFO] [stdout] | [INFO] [stdout] 504 | Flags: D3D12_DESCRIPTOR_HEAP_FLAG_NONE, [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/main.rs:262:26 [INFO] [stdout] | [INFO] [stdout] 262 | root_signature: *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/main.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | render_targets: &[*mut ID3D12Resource; FRAME_COUNT as _], [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/main.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | if !SUCCEEDED(unsafe { [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/main.rs:265:27 [INFO] [stdout] | [INFO] [stdout] 265 | descriptor_heap: *mut ID3D12DescriptorHeap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12DescriptorHeap` in this scope [INFO] [stdout] --> src/main.rs:513:14 [INFO] [stdout] | [INFO] [stdout] 513 | &IID_ID3D12DescriptorHeap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_VERTEX_BUFFER_VIEW` in this scope [INFO] [stdout] --> src/main.rs:267:26 [INFO] [stdout] | [INFO] [stdout] 267 | vertex_buffer_view: &D3D12_VERTEX_BUFFER_VIEW, [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/main.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | if !SUCCEEDED(unsafe { (&*command_allocator).Reset() }) { [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/main.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | if !SUCCEEDED(unsafe { (&*command_list).Reset(command_allocator, pipeline_state) }) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_VIEWPORT` in this scope [INFO] [stdout] --> src/main.rs:279:14 [INFO] [stdout] | [INFO] [stdout] 279 | &D3D12_VIEWPORT { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MIN_DEPTH` in this scope [INFO] [stdout] --> src/main.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | MaxDepth: D3D12_MIN_DEPTH, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_MAX_DEPTH` in this scope [INFO] [stdout] --> src/main.rs:285:27 [INFO] [stdout] | [INFO] [stdout] 285 | MinDepth: D3D12_MAX_DEPTH, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RECT` in this scope [INFO] [stdout] --> src/main.rs:292:14 [INFO] [stdout] | [INFO] [stdout] 292 | &D3D12_RECT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_BARRIER` in this scope [INFO] [stdout] --> src/main.rs:303:14 [INFO] [stdout] | [INFO] [stdout] 303 | &D3D12_RESOURCE_BARRIER { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_TYPE_TRANSITION` in this scope [INFO] [stdout] --> src/main.rs:304:23 [INFO] [stdout] | [INFO] [stdout] 304 | Type: D3D12_RESOURCE_BARRIER_TYPE_TRANSITION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_FLAG_NONE` in this scope [INFO] [stdout] --> src/main.rs:305:24 [INFO] [stdout] | [INFO] [stdout] 305 | Flags: D3D12_RESOURCE_BARRIER_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_BARRIER_u` in this scope [INFO] [stdout] --> src/main.rs:308:44 [INFO] [stdout] | [INFO] [stdout] 257 | fn populate_command_list( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 308 | std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_TRANSITION_BARRIER` in this scope [INFO] [stdout] --> src/main.rs:310:25 [INFO] [stdout] | [INFO] [stdout] 310 | D3D12_RESOURCE_TRANSITION_BARRIER { [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/main.rs:520:51 [INFO] [stdout] | [INFO] [stdout] 520 | let descriptor_heap = descriptor_heap as *mut ID3D12DescriptorHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope [INFO] [stdout] --> src/main.rs:312:42 [INFO] [stdout] | [INFO] [stdout] 312 | ... StateBefore: D3D12_RESOURCE_STATE_PRESENT, [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/main.rs:523:62 [INFO] [stdout] | [INFO] [stdout] 523 | unsafe { (&*device).GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE_RTV) }; [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/main.rs:529:18 [INFO] [stdout] | [INFO] [stdout] 529 | device: *mut ID3D12Device2, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_RENDER_TARGET` in this scope [INFO] [stdout] --> src/main.rs:313:41 [INFO] [stdout] | [INFO] [stdout] 313 | ... StateAfter: D3D12_RESOURCE_STATE_RENDER_TARGET, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain4` in this scope [INFO] [stdout] --> src/main.rs:530:22 [INFO] [stdout] | [INFO] [stdout] 530 | swap_chain: *mut IDXGISwapChain4, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES` in this scope [INFO] [stdout] --> src/main.rs:314:42 [INFO] [stdout] | [INFO] [stdout] 314 | ... Subresource: D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES, [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/main.rs:531:27 [INFO] [stdout] | [INFO] [stdout] 531 | descriptor_heap: *mut ID3D12DescriptorHeap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_CPU_DESCRIPTOR_HANDLE` in this scope [INFO] [stdout] --> src/main.rs:321:29 [INFO] [stdout] | [INFO] [stdout] 321 | let descriptor_handle = D3D12_CPU_DESCRIPTOR_HANDLE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12Resource` in this scope [INFO] [stdout] --> src/main.rs:533:12 [INFO] [stdout] | [INFO] [stdout] 533 | ) -> [*mut ID3D12Resource; FRAME_COUNT as usize] { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST` in this scope [INFO] [stdout] --> src/main.rs:331:54 [INFO] [stdout] | [INFO] [stdout] 331 | unsafe { (&*command_list).IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST) }; [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/main.rs:534:35 [INFO] [stdout] | [INFO] [stdout] 534 | let mut render_targets: [*mut ID3D12Resource; FRAME_COUNT as usize] = [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_BARRIER` in this scope [INFO] [stdout] --> src/main.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | &D3D12_RESOURCE_BARRIER { [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/main.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 539 | if !SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_TYPE_TRANSITION` in this scope [INFO] [stdout] --> src/main.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | Type: D3D12_RESOURCE_BARRIER_TYPE_TRANSITION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_FLAG_NONE` in this scope [INFO] [stdout] --> src/main.rs:339:24 [INFO] [stdout] | [INFO] [stdout] 339 | Flags: D3D12_RESOURCE_BARRIER_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12Resource` in this scope [INFO] [stdout] --> src/main.rs:540:42 [INFO] [stdout] | [INFO] [stdout] 540 | (&*swap_chain).GetBuffer(i, &IID_ID3D12Resource, &mut render_target) [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/main.rs:557:42 [INFO] [stdout] | [INFO] [stdout] 557 | fn create_command_allocator(device: *mut ID3D12Device2) -> *mut ID3D12CommandAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `D3D12_RESOURCE_BARRIER_u` in this scope [INFO] [stdout] --> src/main.rs:342:44 [INFO] [stdout] | [INFO] [stdout] 257 | fn populate_command_list( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 342 | std::mem::zeroed::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RESOURCE_TRANSITION_BARRIER` in this scope [INFO] [stdout] --> src/main.rs:344:25 [INFO] [stdout] | [INFO] [stdout] 344 | D3D12_RESOURCE_TRANSITION_BARRIER { [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/main.rs:557:65 [INFO] [stdout] | [INFO] [stdout] 557 | fn create_command_allocator(device: *mut ID3D12Device2) -> *mut ID3D12CommandAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_RENDER_TARGET` in this scope [INFO] [stdout] --> src/main.rs:346:42 [INFO] [stdout] | [INFO] [stdout] 346 | ... StateBefore: D3D12_RESOURCE_STATE_RENDER_TARGET, [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/main.rs:562:13 [INFO] [stdout] | [INFO] [stdout] 562 | D3D12_COMMAND_LIST_TYPE_DIRECT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_STATE_PRESENT` in this scope [INFO] [stdout] --> src/main.rs:347:41 [INFO] [stdout] | [INFO] [stdout] 347 | ... StateAfter: D3D12_RESOURCE_STATE_PRESENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES` in this scope [INFO] [stdout] --> src/main.rs:348:42 [INFO] [stdout] | [INFO] [stdout] 348 | ... Subresource: D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES, [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/main.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | if !SUCCEEDED(unsafe { (&*command_list).Close() }) { [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/main.rs:360:29 [INFO] [stdout] | [INFO] [stdout] 360 | fn create_factory() -> *mut IDXGIFactory6 { [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/main.rs:365:12 [INFO] [stdout] | [INFO] [stdout] 365 | if SUCCEEDED(unsafe { D3D12GetDebugInterface(&IID_ID3D12Debug, &mut debug_interface) }) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12GetDebugInterface` in this scope [INFO] [stdout] --> src/main.rs:365:31 [INFO] [stdout] | [INFO] [stdout] 365 | if SUCCEEDED(unsafe { D3D12GetDebugInterface(&IID_ID3D12Debug, &mut debug_interface) }) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12Debug` in this scope [INFO] [stdout] --> src/main.rs:365:55 [INFO] [stdout] | [INFO] [stdout] 365 | if SUCCEEDED(unsafe { D3D12GetDebugInterface(&IID_ID3D12Debug, &mut debug_interface) }) { [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/main.rs:366:59 [INFO] [stdout] | [INFO] [stdout] 366 | let debug_interface = debug_interface as *mut ID3D12Debug; [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/main.rs:368:30 [INFO] [stdout] | [INFO] [stdout] 368 | factory_flags |= DXGI_CREATE_FACTORY_DEBUG; [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/main.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | if !SUCCEEDED(unsafe { CreateDXGIFactory2(factory_flags, &IID_IDXGIFactory6, &mut factory) }) { [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/main.rs:374:28 [INFO] [stdout] | [INFO] [stdout] 374 | if !SUCCEEDED(unsafe { CreateDXGIFactory2(factory_flags, &IID_IDXGIFactory6, &mut factory) }) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_IDXGIFactory6` in this scope [INFO] [stdout] --> src/main.rs:374:63 [INFO] [stdout] | [INFO] [stdout] 374 | if !SUCCEEDED(unsafe { CreateDXGIFactory2(factory_flags, &IID_IDXGIFactory6, &mut factory) }) { [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/main.rs:381:34 [INFO] [stdout] | [INFO] [stdout] 381 | fn get_adapter<'t>(factory: *mut IDXGIFactory6) -> *mut IDXGIAdapter4 { [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/main.rs:381:57 [INFO] [stdout] | [INFO] [stdout] 381 | fn get_adapter<'t>(factory: *mut IDXGIFactory6) -> *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 `SUCCEEDED` in this scope [INFO] [stdout] --> src/main.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | if !SUCCEEDED(unsafe { [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/main.rs:387:13 [INFO] [stdout] | [INFO] [stdout] 387 | DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_IDXGIAdapter4` in this scope [INFO] [stdout] --> src/main.rs:388:14 [INFO] [stdout] | [INFO] [stdout] 388 | &IID_IDXGIAdapter4, [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/main.rs:395:35 [INFO] [stdout] | [INFO] [stdout] 395 | let adapter = adapter as *mut IDXGIAdapter4; [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/main.rs:399:60 [INFO] [stdout] | [INFO] [stdout] 381 | fn get_adapter<'t>(factory: *mut IDXGIFactory6) -> *mut IDXGIAdapter4 { [INFO] [stdout] | - help: you might be missing a type parameter: `, DXGI_ADAPTER_DESC3` [INFO] [stdout] ... [INFO] [stdout] 399 | let mut adapter_desc = unsafe { std::mem::zeroed::() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/main.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | if !SUCCEEDED(unsafe { (&*adapter).GetDesc3(&mut adapter_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/main.rs:408:32 [INFO] [stdout] | [INFO] [stdout] 408 | fn create_device(adapter: *mut IDXGIAdapter4) -> *mut ID3D12Device2 { [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/main.rs:408:55 [INFO] [stdout] | [INFO] [stdout] 408 | fn create_device(adapter: *mut IDXGIAdapter4) -> *mut ID3D12Device2 { [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/main.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | if !SUCCEEDED(unsafe { [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/main.rs:412:9 [INFO] [stdout] | [INFO] [stdout] 412 | 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/main.rs:413:29 [INFO] [stdout] | [INFO] [stdout] 413 | adapter as *mut IUnknown, [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/main.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | D3D_FEATURE_LEVEL_12_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12Device2` in this scope [INFO] [stdout] --> src/main.rs:415:14 [INFO] [stdout] | [INFO] [stdout] 415 | &IID_ID3D12Device2, [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/main.rs:425:38 [INFO] [stdout] | [INFO] [stdout] 425 | fn create_command_queue(device: *mut ID3D12Device2) -> *mut ID3D12CommandQueue { [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/main.rs:425:61 [INFO] [stdout] | [INFO] [stdout] 425 | fn create_command_queue(device: *mut ID3D12Device2) -> *mut ID3D12CommandQueue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [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/main.rs:428:30 [INFO] [stdout] | [INFO] [stdout] 428 | let command_queue_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_QUEUE_FLAG_NONE` in this scope [INFO] [stdout] --> src/main.rs:429:16 [INFO] [stdout] | [INFO] [stdout] 429 | Flags: D3D12_COMMAND_QUEUE_FLAG_NONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope [INFO] [stdout] --> src/main.rs:430:15 [INFO] [stdout] | [INFO] [stdout] 430 | Type: D3D12_COMMAND_LIST_TYPE_DIRECT, [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/main.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | if !SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12CommandAllocator` in this scope [INFO] [stdout] --> src/main.rs:563:14 [INFO] [stdout] | [INFO] [stdout] 563 | &IID_ID3D12CommandAllocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12CommandQueue` in this scope [INFO] [stdout] --> src/main.rs:437:14 [INFO] [stdout] | [INFO] [stdout] 437 | &IID_ID3D12CommandQueue, [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/main.rs:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | if !SUCCEEDED(result) { [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/main.rs:450:19 [INFO] [stdout] | [INFO] [stdout] 450 | factory: *mut IDXGIFactory6, [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/main.rs:574:39 [INFO] [stdout] | [INFO] [stdout] 574 | fn create_root_signature(device: *mut ID3D12Device2) -> *mut ID3D12RootSignature { [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/main.rs:451:25 [INFO] [stdout] | [INFO] [stdout] 451 | command_queue: *mut ID3D12CommandQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain4` in this scope [INFO] [stdout] --> src/main.rs:452:12 [INFO] [stdout] | [INFO] [stdout] 452 | ) -> (*mut IDXGISwapChain4, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [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/main.rs:455:27 [INFO] [stdout] | [INFO] [stdout] 455 | let swap_chain_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_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/main.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | Format: DXGI_FORMAT_R8G8B8A8_UNORM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/main.rs:459:21 [INFO] [stdout] | [INFO] [stdout] 459 | 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/main.rs:463:22 [INFO] [stdout] | [INFO] [stdout] 463 | BufferUsage: DXGI_USAGE_RENDER_TARGET_OUTPUT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_SWAP_EFFECT_FLIP_DISCARD` in this scope [INFO] [stdout] --> src/main.rs:465:21 [INFO] [stdout] | [INFO] [stdout] 465 | SwapEffect: DXGI_SWAP_EFFECT_FLIP_DISCARD, [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/main.rs:469:9 [INFO] [stdout] | [INFO] [stdout] 469 | if !SUCCEEDED(unsafe { [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/main.rs:471:35 [INFO] [stdout] | [INFO] [stdout] 471 | command_queue as *mut IUnknown, [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/main.rs:574:62 [INFO] [stdout] | [INFO] [stdout] 574 | fn create_root_signature(device: *mut ID3D12Device2) -> *mut ID3D12RootSignature { [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/main.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | if !SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_ROOT_SIGNATURE_DESC` in this scope [INFO] [stdout] --> src/main.rs:575:31 [INFO] [stdout] | [INFO] [stdout] 575 | let root_signature_desc = D3D12_ROOT_SIGNATURE_DESC { [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/main.rs:490:9 [INFO] [stdout] | [INFO] [stdout] 490 | if !SUCCEEDED(unsafe { swap_chain.QueryInterface(&IID_IDXGISwapChain4, &mut swap_chain_4) }) { [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/main.rs:580:16 [INFO] [stdout] | [INFO] [stdout] 580 | 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 `IID_IDXGISwapChain4` in this scope [INFO] [stdout] --> src/main.rs:490:55 [INFO] [stdout] | [INFO] [stdout] 490 | if !SUCCEEDED(unsafe { swap_chain.QueryInterface(&IID_IDXGISwapChain4, &mut swap_chain_4) }) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain4` in this scope [INFO] [stdout] --> src/main.rs:493:45 [INFO] [stdout] | [INFO] [stdout] 493 | let swap_chain_4 = swap_chain_4 as *mut IDXGISwapChain4; [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/main.rs:586:9 [INFO] [stdout] | [INFO] [stdout] 586 | if !SUCCEEDED(unsafe { [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/main.rs:500:40 [INFO] [stdout] | [INFO] [stdout] 500 | fn create_discriptor_heap(device: *mut ID3D12Device2) -> (*mut ID3D12DescriptorHeap, u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12SerializeRootSignature` in this scope [INFO] [stdout] --> src/main.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | D3D12SerializeRootSignature( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_ROOT_SIGNATURE_VERSION_1` in this scope [INFO] [stdout] --> src/main.rs:589:13 [INFO] [stdout] | [INFO] [stdout] 589 | D3D_ROOT_SIGNATURE_VERSION_1, [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/main.rs:500:64 [INFO] [stdout] | [INFO] [stdout] 500 | fn create_discriptor_heap(device: *mut ID3D12Device2) -> (*mut ID3D12DescriptorHeap, u32) { [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/main.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | if !SUCCEEDED(unsafe { [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/main.rs:501:32 [INFO] [stdout] | [INFO] [stdout] 501 | let descriptor_heap_desc = D3D12_DESCRIPTOR_HEAP_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12RootSignature` in this scope [INFO] [stdout] --> src/main.rs:604:14 [INFO] [stdout] | [INFO] [stdout] 604 | &IID_ID3D12RootSignature, [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/main.rs:503:15 [INFO] [stdout] | [INFO] [stdout] 503 | Type: D3D12_DESCRIPTOR_HEAP_TYPE_RTV, [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/main.rs:615:18 [INFO] [stdout] | [INFO] [stdout] 615 | device: *mut ID3D12Device2, [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/main.rs:504:16 [INFO] [stdout] | [INFO] [stdout] 504 | Flags: D3D12_DESCRIPTOR_HEAP_FLAG_NONE, [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/main.rs:616:26 [INFO] [stdout] | [INFO] [stdout] 616 | root_signature: *mut ID3D12RootSignature, [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/main.rs:510:9 [INFO] [stdout] | [INFO] [stdout] 510 | if !SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12DescriptorHeap` in this scope [INFO] [stdout] --> src/main.rs:513:14 [INFO] [stdout] | [INFO] [stdout] 513 | &IID_ID3D12DescriptorHeap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/main.rs:617:11 [INFO] [stdout] | [INFO] [stdout] 617 | ) -> *mut ID3D12PipelineState { [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/main.rs:520:51 [INFO] [stdout] | [INFO] [stdout] 520 | let descriptor_heap = descriptor_heap as *mut ID3D12DescriptorHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DCOMPILE_DEBUG` in this scope [INFO] [stdout] --> src/main.rs:619:26 [INFO] [stdout] | [INFO] [stdout] 619 | let compiler_flags = D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION; [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/main.rs:523:62 [INFO] [stdout] | [INFO] [stdout] 523 | unsafe { (&*device).GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE_RTV) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DCOMPILE_SKIP_OPTIMIZATION` in this scope [INFO] [stdout] --> src/main.rs:619:45 [INFO] [stdout] | [INFO] [stdout] 619 | let compiler_flags = D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION; [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/main.rs:529:18 [INFO] [stdout] | [INFO] [stdout] 529 | device: *mut ID3D12Device2, [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/main.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | if !SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IDXGISwapChain4` in this scope [INFO] [stdout] --> src/main.rs:530:22 [INFO] [stdout] | [INFO] [stdout] 530 | swap_chain: *mut IDXGISwapChain4, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompileFromFile` in this scope [INFO] [stdout] --> src/main.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | D3DCompileFromFile( [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/main.rs:531:27 [INFO] [stdout] | [INFO] [stdout] 531 | descriptor_heap: *mut ID3D12DescriptorHeap, [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/main.rs:665:9 [INFO] [stdout] | [INFO] [stdout] 665 | if !SUCCEEDED(unsafe { [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/main.rs:533:12 [INFO] [stdout] | [INFO] [stdout] 533 | ) -> [*mut ID3D12Resource; FRAME_COUNT as usize] { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompileFromFile` in this scope [INFO] [stdout] --> src/main.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | D3DCompileFromFile( [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/main.rs:534:35 [INFO] [stdout] | [INFO] [stdout] 534 | let mut render_targets: [*mut ID3D12Resource; FRAME_COUNT as usize] = [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/main.rs:695:9 [INFO] [stdout] | [INFO] [stdout] 695 | D3D12_INPUT_ELEMENT_DESC { [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/main.rs:539:13 [INFO] [stdout] | [INFO] [stdout] 539 | if !SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R32G32B32_FLOAT` in this scope [INFO] [stdout] --> src/main.rs:698:21 [INFO] [stdout] | [INFO] [stdout] 698 | Format: DXGI_FORMAT_R32G32B32_FLOAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12Resource` in this scope [INFO] [stdout] --> src/main.rs:540:42 [INFO] [stdout] | [INFO] [stdout] 540 | (&*swap_chain).GetBuffer(i, &IID_ID3D12Resource, &mut render_target) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA` in this scope [INFO] [stdout] --> src/main.rs:701:29 [INFO] [stdout] | [INFO] [stdout] 701 | InputSlotClass: D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, [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/main.rs:557:42 [INFO] [stdout] | [INFO] [stdout] 557 | fn create_command_allocator(device: *mut ID3D12Device2) -> *mut ID3D12CommandAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/main.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | D3D12_INPUT_ELEMENT_DESC { [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/main.rs:557:65 [INFO] [stdout] | [INFO] [stdout] 557 | fn create_command_allocator(device: *mut ID3D12Device2) -> *mut ID3D12CommandAllocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R32G32B32A32_FLOAT` in this scope [INFO] [stdout] --> src/main.rs:707:21 [INFO] [stdout] | [INFO] [stdout] 707 | Format: DXGI_FORMAT_R32G32B32A32_FLOAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA` in this scope [INFO] [stdout] --> src/main.rs:710:29 [INFO] [stdout] | [INFO] [stdout] 710 | InputSlotClass: D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COMMAND_LIST_TYPE_DIRECT` in this scope [INFO] [stdout] --> src/main.rs:562:13 [INFO] [stdout] | [INFO] [stdout] 562 | D3D12_COMMAND_LIST_TYPE_DIRECT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_GRAPHICS_PIPELINE_STATE_DESC` in this scope [INFO] [stdout] --> src/main.rs:715:40 [INFO] [stdout] | [INFO] [stdout] 715 | let graphics_pipeline_state_desc = D3D12_GRAPHICS_PIPELINE_STATE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12CommandAllocator` in this scope [INFO] [stdout] --> src/main.rs:563:14 [INFO] [stdout] | [INFO] [stdout] 563 | &IID_ID3D12CommandAllocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope [INFO] [stdout] --> src/main.rs:717:13 [INFO] [stdout] | [INFO] [stdout] 717 | VS: D3D12_SHADER_BYTECODE { [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/main.rs:568:9 [INFO] [stdout] | [INFO] [stdout] 568 | if !SUCCEEDED(result) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope [INFO] [stdout] --> src/main.rs:721:13 [INFO] [stdout] | [INFO] [stdout] 721 | PS: D3D12_SHADER_BYTECODE { [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/main.rs:574:39 [INFO] [stdout] | [INFO] [stdout] 574 | fn create_root_signature(device: *mut ID3D12Device2) -> *mut ID3D12RootSignature { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_BLEND_DESC` in this scope [INFO] [stdout] --> src/main.rs:725:21 [INFO] [stdout] | [INFO] [stdout] 725 | BlendState: D3D12_BLEND_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RENDER_TARGET_BLEND_DESC` in this scope [INFO] [stdout] --> src/main.rs:728:28 [INFO] [stdout] | [INFO] [stdout] 728 | RenderTarget: [D3D12_RENDER_TARGET_BLEND_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_ONE` in this scope [INFO] [stdout] --> src/main.rs:731:27 [INFO] [stdout] | [INFO] [stdout] 731 | SrcBlend: D3D12_BLEND_ONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_ZERO` in this scope [INFO] [stdout] --> src/main.rs:732:28 [INFO] [stdout] | [INFO] [stdout] 732 | DestBlend: D3D12_BLEND_ZERO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_OP_ADD` in this scope [INFO] [stdout] --> src/main.rs:733:26 [INFO] [stdout] | [INFO] [stdout] 733 | BlendOp: D3D12_BLEND_OP_ADD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_ONE` in this scope [INFO] [stdout] --> src/main.rs:734:32 [INFO] [stdout] | [INFO] [stdout] 734 | SrcBlendAlpha: D3D12_BLEND_ONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_ZERO` in this scope [INFO] [stdout] --> src/main.rs:735:33 [INFO] [stdout] | [INFO] [stdout] 735 | DestBlendAlpha: D3D12_BLEND_ZERO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_OP_ADD` in this scope [INFO] [stdout] --> src/main.rs:736:31 [INFO] [stdout] | [INFO] [stdout] 736 | BlendOpAlpha: D3D12_BLEND_OP_ADD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_LOGIC_OP_NOOP` in this scope [INFO] [stdout] --> src/main.rs:737:26 [INFO] [stdout] | [INFO] [stdout] 737 | LogicOp: D3D12_LOGIC_OP_NOOP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COLOR_WRITE_ENABLE_ALL` in this scope [INFO] [stdout] --> src/main.rs:738:40 [INFO] [stdout] | [INFO] [stdout] 738 | RenderTargetWriteMask: D3D12_COLOR_WRITE_ENABLE_ALL as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RASTERIZER_DESC` in this scope [INFO] [stdout] --> src/main.rs:742:26 [INFO] [stdout] | [INFO] [stdout] 742 | RasterizerState: D3D12_RASTERIZER_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_FILL_MODE_SOLID` in this scope [INFO] [stdout] --> src/main.rs:743:23 [INFO] [stdout] | [INFO] [stdout] 743 | FillMode: D3D12_FILL_MODE_SOLID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_CULL_MODE_BACK` in this scope [INFO] [stdout] --> src/main.rs:744:23 [INFO] [stdout] | [INFO] [stdout] 744 | CullMode: D3D12_CULL_MODE_BACK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEFAULT_DEPTH_BIAS` in this scope [INFO] [stdout] --> src/main.rs:746:24 [INFO] [stdout] | [INFO] [stdout] 746 | DepthBias: D3D12_DEFAULT_DEPTH_BIAS as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEFAULT_DEPTH_BIAS_CLAMP` in this scope [INFO] [stdout] --> src/main.rs:747:29 [INFO] [stdout] | [INFO] [stdout] 747 | DepthBiasClamp: D3D12_DEFAULT_DEPTH_BIAS_CLAMP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS` in this scope [INFO] [stdout] --> src/main.rs:748:35 [INFO] [stdout] | [INFO] [stdout] 748 | SlopeScaledDepthBias: D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF` in this scope [INFO] [stdout] --> src/main.rs:753:33 [INFO] [stdout] | [INFO] [stdout] 753 | ConservativeRaster: D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_DEPTH_STENCIL_DESC` in this scope [INFO] [stdout] --> src/main.rs:755:28 [INFO] [stdout] | [INFO] [stdout] 755 | DepthStencilState: D3D12_DEPTH_STENCIL_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_INPUT_LAYOUT_DESC` in this scope [INFO] [stdout] --> src/main.rs:760:22 [INFO] [stdout] | [INFO] [stdout] 760 | InputLayout: D3D12_INPUT_LAYOUT_DESC { [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/main.rs:574:62 [INFO] [stdout] | [INFO] [stdout] 574 | fn create_root_signature(device: *mut ID3D12Device2) -> *mut ID3D12RootSignature { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE` in this scope [INFO] [stdout] --> src/main.rs:764:32 [INFO] [stdout] | [INFO] [stdout] 764 | PrimitiveTopologyType: D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_ROOT_SIGNATURE_DESC` in this scope [INFO] [stdout] --> src/main.rs:575:31 [INFO] [stdout] | [INFO] [stdout] 575 | let root_signature_desc = D3D12_ROOT_SIGNATURE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/main.rs:768:30 [INFO] [stdout] | [INFO] [stdout] 768 | rtv_formats[0] = DXGI_FORMAT_R8G8B8A8_UNORM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/main.rs:771:21 [INFO] [stdout] | [INFO] [stdout] 771 | SampleDesc: DXGI_SAMPLE_DESC { [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/main.rs:580:16 [INFO] [stdout] | [INFO] [stdout] 580 | 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 function, tuple struct or tuple variant `SUCCEEDED` in this scope [INFO] [stdout] --> src/main.rs:780:9 [INFO] [stdout] | [INFO] [stdout] 780 | if !SUCCEEDED(unsafe { [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/main.rs:586:9 [INFO] [stdout] | [INFO] [stdout] 586 | if !SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12PipelineState` in this scope [INFO] [stdout] --> src/main.rs:783:14 [INFO] [stdout] | [INFO] [stdout] 783 | &IID_ID3D12PipelineState, [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/main.rs:794:18 [INFO] [stdout] | [INFO] [stdout] 794 | device: *mut ID3D12Device2, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3D12SerializeRootSignature` in this scope [INFO] [stdout] --> src/main.rs:587:9 [INFO] [stdout] | [INFO] [stdout] 587 | D3D12SerializeRootSignature( [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/main.rs:795:29 [INFO] [stdout] | [INFO] [stdout] 795 | command_allocator: *mut ID3D12CommandAllocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D_ROOT_SIGNATURE_VERSION_1` in this scope [INFO] [stdout] --> src/main.rs:589:13 [INFO] [stdout] | [INFO] [stdout] 589 | D3D_ROOT_SIGNATURE_VERSION_1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/main.rs:796:26 [INFO] [stdout] | [INFO] [stdout] 796 | pipeline_state: *mut ID3D12PipelineState, [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/main.rs:599:9 [INFO] [stdout] | [INFO] [stdout] 599 | if !SUCCEEDED(unsafe { [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/main.rs:797:11 [INFO] [stdout] | [INFO] [stdout] 797 | ) -> *mut ID3D12GraphicsCommandList { [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/main.rs:799:9 [INFO] [stdout] | [INFO] [stdout] 799 | if !SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12RootSignature` in this scope [INFO] [stdout] --> src/main.rs:604:14 [INFO] [stdout] | [INFO] [stdout] 604 | &IID_ID3D12RootSignature, [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/main.rs:802:13 [INFO] [stdout] | [INFO] [stdout] 802 | D3D12_COMMAND_LIST_TYPE_DIRECT, [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/main.rs:615:18 [INFO] [stdout] | [INFO] [stdout] 615 | device: *mut ID3D12Device2, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/main.rs:805:14 [INFO] [stdout] | [INFO] [stdout] 805 | &IID_ID3D12GraphicsCommandList, [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/main.rs:616:26 [INFO] [stdout] | [INFO] [stdout] 616 | root_signature: *mut ID3D12RootSignature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/main.rs:617:11 [INFO] [stdout] | [INFO] [stdout] 617 | ) -> *mut ID3D12PipelineState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DCOMPILE_DEBUG` in this scope [INFO] [stdout] --> src/main.rs:619:26 [INFO] [stdout] | [INFO] [stdout] 619 | let compiler_flags = D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3DCOMPILE_SKIP_OPTIMIZATION` in this scope [INFO] [stdout] --> src/main.rs:619:45 [INFO] [stdout] | [INFO] [stdout] 619 | let compiler_flags = D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION; [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/main.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | if !SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompileFromFile` in this scope [INFO] [stdout] --> src/main.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | D3DCompileFromFile( [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/main.rs:665:9 [INFO] [stdout] | [INFO] [stdout] 665 | if !SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `D3DCompileFromFile` in this scope [INFO] [stdout] --> src/main.rs:666:9 [INFO] [stdout] | [INFO] [stdout] 666 | D3DCompileFromFile( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/main.rs:695:9 [INFO] [stdout] | [INFO] [stdout] 695 | D3D12_INPUT_ELEMENT_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R32G32B32_FLOAT` in this scope [INFO] [stdout] --> src/main.rs:698:21 [INFO] [stdout] | [INFO] [stdout] 698 | Format: DXGI_FORMAT_R32G32B32_FLOAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA` in this scope [INFO] [stdout] --> src/main.rs:701:29 [INFO] [stdout] | [INFO] [stdout] 701 | InputSlotClass: D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_INPUT_ELEMENT_DESC` in this scope [INFO] [stdout] --> src/main.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | D3D12_INPUT_ELEMENT_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R32G32B32A32_FLOAT` in this scope [INFO] [stdout] --> src/main.rs:707:21 [INFO] [stdout] | [INFO] [stdout] 707 | Format: DXGI_FORMAT_R32G32B32A32_FLOAT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA` in this scope [INFO] [stdout] --> src/main.rs:710:29 [INFO] [stdout] | [INFO] [stdout] 710 | InputSlotClass: D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_GRAPHICS_PIPELINE_STATE_DESC` in this scope [INFO] [stdout] --> src/main.rs:715:40 [INFO] [stdout] | [INFO] [stdout] 715 | let graphics_pipeline_state_desc = D3D12_GRAPHICS_PIPELINE_STATE_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope [INFO] [stdout] --> src/main.rs:717:13 [INFO] [stdout] | [INFO] [stdout] 717 | VS: D3D12_SHADER_BYTECODE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_SHADER_BYTECODE` in this scope [INFO] [stdout] --> src/main.rs:721:13 [INFO] [stdout] | [INFO] [stdout] 721 | PS: D3D12_SHADER_BYTECODE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_BLEND_DESC` in this scope [INFO] [stdout] --> src/main.rs:725:21 [INFO] [stdout] | [INFO] [stdout] 725 | BlendState: D3D12_BLEND_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RENDER_TARGET_BLEND_DESC` in this scope [INFO] [stdout] --> src/main.rs:728:28 [INFO] [stdout] | [INFO] [stdout] 728 | RenderTarget: [D3D12_RENDER_TARGET_BLEND_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_ONE` in this scope [INFO] [stdout] --> src/main.rs:731:27 [INFO] [stdout] | [INFO] [stdout] 731 | SrcBlend: D3D12_BLEND_ONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_ZERO` in this scope [INFO] [stdout] --> src/main.rs:732:28 [INFO] [stdout] | [INFO] [stdout] 732 | DestBlend: D3D12_BLEND_ZERO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_OP_ADD` in this scope [INFO] [stdout] --> src/main.rs:733:26 [INFO] [stdout] | [INFO] [stdout] 733 | BlendOp: D3D12_BLEND_OP_ADD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_ONE` in this scope [INFO] [stdout] --> src/main.rs:734:32 [INFO] [stdout] | [INFO] [stdout] 734 | SrcBlendAlpha: D3D12_BLEND_ONE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_ZERO` in this scope [INFO] [stdout] --> src/main.rs:735:33 [INFO] [stdout] | [INFO] [stdout] 735 | DestBlendAlpha: D3D12_BLEND_ZERO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_BLEND_OP_ADD` in this scope [INFO] [stdout] --> src/main.rs:736:31 [INFO] [stdout] | [INFO] [stdout] 736 | BlendOpAlpha: D3D12_BLEND_OP_ADD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_LOGIC_OP_NOOP` in this scope [INFO] [stdout] --> src/main.rs:737:26 [INFO] [stdout] | [INFO] [stdout] 737 | LogicOp: D3D12_LOGIC_OP_NOOP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_COLOR_WRITE_ENABLE_ALL` in this scope [INFO] [stdout] --> src/main.rs:738:40 [INFO] [stdout] | [INFO] [stdout] 738 | RenderTargetWriteMask: D3D12_COLOR_WRITE_ENABLE_ALL as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_RASTERIZER_DESC` in this scope [INFO] [stdout] --> src/main.rs:742:26 [INFO] [stdout] | [INFO] [stdout] 742 | RasterizerState: D3D12_RASTERIZER_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_FILL_MODE_SOLID` in this scope [INFO] [stdout] --> src/main.rs:743:23 [INFO] [stdout] | [INFO] [stdout] 743 | FillMode: D3D12_FILL_MODE_SOLID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_CULL_MODE_BACK` in this scope [INFO] [stdout] --> src/main.rs:744:23 [INFO] [stdout] | [INFO] [stdout] 744 | CullMode: D3D12_CULL_MODE_BACK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEFAULT_DEPTH_BIAS` in this scope [INFO] [stdout] --> src/main.rs:746:24 [INFO] [stdout] | [INFO] [stdout] 746 | DepthBias: D3D12_DEFAULT_DEPTH_BIAS as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEFAULT_DEPTH_BIAS_CLAMP` in this scope [INFO] [stdout] --> src/main.rs:747:29 [INFO] [stdout] | [INFO] [stdout] 747 | DepthBiasClamp: D3D12_DEFAULT_DEPTH_BIAS_CLAMP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS` in this scope [INFO] [stdout] --> src/main.rs:748:35 [INFO] [stdout] | [INFO] [stdout] 748 | SlopeScaledDepthBias: D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF` in this scope [INFO] [stdout] --> src/main.rs:753:33 [INFO] [stdout] | [INFO] [stdout] 753 | ConservativeRaster: D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_DEPTH_STENCIL_DESC` in this scope [INFO] [stdout] --> src/main.rs:755:28 [INFO] [stdout] | [INFO] [stdout] 755 | DepthStencilState: D3D12_DEPTH_STENCIL_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `D3D12_INPUT_LAYOUT_DESC` in this scope [INFO] [stdout] --> src/main.rs:760:22 [INFO] [stdout] | [INFO] [stdout] 760 | InputLayout: D3D12_INPUT_LAYOUT_DESC { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE` in this scope [INFO] [stdout] --> src/main.rs:764:32 [INFO] [stdout] | [INFO] [stdout] 764 | PrimitiveTopologyType: D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DXGI_FORMAT_R8G8B8A8_UNORM` in this scope [INFO] [stdout] --> src/main.rs:768:30 [INFO] [stdout] | [INFO] [stdout] 768 | rtv_formats[0] = DXGI_FORMAT_R8G8B8A8_UNORM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DXGI_SAMPLE_DESC` in this scope [INFO] [stdout] --> src/main.rs:771:21 [INFO] [stdout] | [INFO] [stdout] 771 | SampleDesc: DXGI_SAMPLE_DESC { [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/main.rs:780:9 [INFO] [stdout] | [INFO] [stdout] 780 | if !SUCCEEDED(unsafe { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12PipelineState` in this scope [INFO] [stdout] --> src/main.rs:783:14 [INFO] [stdout] | [INFO] [stdout] 783 | &IID_ID3D12PipelineState, [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/main.rs:794:18 [INFO] [stdout] | [INFO] [stdout] 794 | device: *mut ID3D12Device2, [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/main.rs:795:29 [INFO] [stdout] | [INFO] [stdout] 795 | command_allocator: *mut ID3D12CommandAllocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ID3D12PipelineState` in this scope [INFO] [stdout] --> src/main.rs:796:26 [INFO] [stdout] | [INFO] [stdout] 796 | pipeline_state: *mut ID3D12PipelineState, [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/main.rs:797:11 [INFO] [stdout] | [INFO] [stdout] 797 | ) -> *mut ID3D12GraphicsCommandList { [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/main.rs:799:9 [INFO] [stdout] | [INFO] [stdout] 799 | if !SUCCEEDED(unsafe { [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/main.rs:802:13 [INFO] [stdout] | [INFO] [stdout] 802 | D3D12_COMMAND_LIST_TYPE_DIRECT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `IID_ID3D12GraphicsCommandList` in this scope [INFO] [stdout] --> src/main.rs:805:14 [INFO] [stdout] | [INFO] [stdout] 805 | &IID_ID3D12GraphicsCommandList, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Windows` found for enum `RawWindowHandle` in the current scope [INFO] [stdout] --> src/main.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | raw_window_handle::RawWindowHandle::Windows(windows_handle) => windows_handle, [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `RawWindowHandle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Windows` found for enum `RawWindowHandle` in the current scope [INFO] [stdout] --> src/main.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | raw_window_handle::RawWindowHandle::Windows(windows_handle) => windows_handle, [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `RawWindowHandle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0699]: the type of this value must be known to call a method on a raw pointer on it [INFO] [stdout] --> src/main.rs:647:33 [INFO] [stdout] | [INFO] [stdout] 647 | if !vertex_shader_error.eq(&std::ptr::null_mut()) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0699]: the type of this value must be known to call a method on a raw pointer on it [INFO] [stdout] --> src/main.rs:678:32 [INFO] [stdout] | [INFO] [stdout] 678 | if !pixel_shader_error.eq(&std::ptr::null_mut()) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0699]: the type of this value must be known to call a method on a raw pointer on it [INFO] [stdout] --> src/main.rs:647:33 [INFO] [stdout] | [INFO] [stdout] 647 | if !vertex_shader_error.eq(&std::ptr::null_mut()) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0699]: the type of this value must be known to call a method on a raw pointer on it [INFO] [stdout] --> src/main.rs:678:32 [INFO] [stdout] | [INFO] [stdout] 678 | if !pixel_shader_error.eq(&std::ptr::null_mut()) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 197 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599, E0699. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 197 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599, E0699. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `d3d12rs` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c1a3c2d603e2bf89292d5e2839bec43bfe0af33285010db6a271f07bd47cfe05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1a3c2d603e2bf89292d5e2839bec43bfe0af33285010db6a271f07bd47cfe05", kill_on_drop: false }` [INFO] [stdout] c1a3c2d603e2bf89292d5e2839bec43bfe0af33285010db6a271f07bd47cfe05