Open tomaka opened 8 years ago
glsl-to-spirv is no more. https://github.com/vulkano-rs/vulkano/pull/947
Could warnings be shown regardless? shaderc uses glsl internally. Or are they shown already? Haven't really used vulkano recently.
Good point, in fact, shaderc makes it really easy to get. https://docs.rs/shaderc/0.3.11/shaderc/struct.CompilationArtifact.html#method.get_warning_messages
The feature linked by Tomaka isn't actually relevant here, because Vulkano-shaders is a procedural macro rather than a build script. Emitting warnings from a procedural macro is possible via the proc_macro_error crate, but this is not possible on stable Rust yet because it's blocked by this feature.
Once https://github.com/rust-lang/cargo/pull/2630 lands