summaryrefslogtreecommitdiff
path: root/LOG.txt
blob: 7e0ca27292fbb7f1475a24923de37cc3cd220529 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

thread '<unnamed>' (9163037) panicked at src/lib.rs:423:5:
wgpu uncaptured error:
Validation Error

Caused by:
  In wgpuDeviceCreateShaderModule
    
Shader '' parsing error: redefinition of `light_dir`
    ┌─ wgsl:141:9
    │
141 │     let light_dir = normalize(vec3<f32>(1.0, 1.0, 1.0));
    │         ^^^^^^^^^ previous definition of `light_dir`
    ·
212 │     let light_dir = normalize(vec3<f32>(0.2, 1.0, 0.2)); // More vertical light for easier shadow debugging
    │         ^^^^^^^^^ redefinition of `light_dir`




note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

thread '<unnamed>' (9163037) panicked at library/core/src/panicking.rs:230:5:
panic in a function that cannot unwind
stack backtrace:
   0:        0x1037d75e0 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h5b9122f5e70f5951
   1:        0x1037f5194 - core::fmt::write::h6a8a2c9e4d999818
   2:        0x1037d7854 - std::io::default_write_fmt::h89b6c507b2c6ffa7
   3:        0x1037d6488 - std::panicking::default_hook::{{closure}}::h24b4617c01d6581d
   4:        0x1037d6370 - std::panicking::default_hook::h1955ee9a9845dfef
   5:        0x1037d6754 - std::panicking::panic_with_hook::h8aad6dd2389d8f59
   6:        0x1037d6564 - std::panicking::panic_handler::{{closure}}::h3bd15449212d5b6e
   7:        0x1037d61e4 - std::sys::backtrace::__rust_end_short_backtrace::h3b25181b9f11fe05
   8:        0x1037d5660 - __rustc[18f9140b322fd06e]::rust_begin_unwind
   9:        0x103821f6c - core::panicking::panic_nounwind_fmt::h7a4dae3ab8fc5259
  10:        0x103821ed0 - core::panicking::panic_nounwind::h959d775d33fc4688
  11:        0x103822070 - core::panicking::panic_cannot_unwind::hda7331a7075802a1
  12:        0x1037fcfe0 - wgpu_native::default_uncaptured_error_handler::h5258404c53f3ccc3
  13:        0x10346af0c - wgpu_native::ErrorSinkRaw::handle_error::h097d2dd0698a0260
  14:        0x10346b590 - wgpu_native::handle_error::h00f841fd1f822b11
  15:        0x1034848d0 - _wgpuDeviceCreateShaderModule
  16:        0x1028e8d5c - __ZN10Renderer3D15create_pipelineEv
  17:        0x1028e8b38 - __ZN10Renderer3D4initEP14WGPUDeviceImplP13WGPUQueueImpl17WGPUTextureFormat
  18:        0x1028e3a5c - _main
thread caused non-unwinding panic. aborting.
Running 3D Renderer Test...