thread '' (8339722) panicked at src/lib.rs:423:5: wgpu uncaptured error: Validation Error Caused by: In wgpuDeviceCreateShaderModule Shader '' parsing error: name `type` is a reserved keyword ┌─ wgsl:84:27 │ 84 │ fn get_dist(p: vec3, type: f32) -> f32 { │ ^^^^ definition of `type` note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread '' (8339722) panicked at library/core/src/panicking.rs:230:5: panic in a function that cannot unwind stack backtrace: 0: 0x10351b5e0 - ::fmt::h5b9122f5e70f5951 1: 0x103539194 - core::fmt::write::h6a8a2c9e4d999818 2: 0x10351b854 - std::io::default_write_fmt::h89b6c507b2c6ffa7 3: 0x10351a488 - std::panicking::default_hook::{{closure}}::h24b4617c01d6581d 4: 0x10351a370 - std::panicking::default_hook::h1955ee9a9845dfef 5: 0x10351a754 - std::panicking::panic_with_hook::h8aad6dd2389d8f59 6: 0x10351a564 - std::panicking::panic_handler::{{closure}}::h3bd15449212d5b6e 7: 0x10351a1e4 - std::sys::backtrace::__rust_end_short_backtrace::h3b25181b9f11fe05 8: 0x103519660 - __rustc[18f9140b322fd06e]::rust_begin_unwind 9: 0x103565f6c - core::panicking::panic_nounwind_fmt::h7a4dae3ab8fc5259 10: 0x103565ed0 - core::panicking::panic_nounwind::h959d775d33fc4688 11: 0x103566070 - core::panicking::panic_cannot_unwind::hda7331a7075802a1 12: 0x103540fe0 - wgpu_native::default_uncaptured_error_handler::h5258404c53f3ccc3 13: 0x1031aef0c - wgpu_native::ErrorSinkRaw::handle_error::h097d2dd0698a0260 14: 0x1031af590 - wgpu_native::handle_error::h00f841fd1f822b11 15: 0x1031c88d0 - _wgpuDeviceCreateShaderModule 16: 0x102755f4c - __ZN10Renderer3D15create_pipelineEv 17: 0x102755cbc - __ZN10Renderer3D4initEP14WGPUDeviceImplP13WGPUQueueImpl17WGPUTextureFormat 18: 0x10275374c - _main thread caused non-unwinding panic. aborting.