Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show warnings generated by glslang #117

Open
tomaka opened this issue May 25, 2016 · 4 comments
Open

Show warnings generated by glslang #117

tomaka opened this issue May 25, 2016 · 4 comments

Comments

@tomaka
Copy link
Member

tomaka commented May 25, 2016

Once rust-lang/cargo#2630 lands

@rukai
Copy link
Member

rukai commented Oct 26, 2018

glsl-to-spirv is no more. #947

@rukai rukai closed this as completed Oct 26, 2018
@nicokoch
Copy link
Contributor

nicokoch commented Oct 26, 2018

Could warnings be shown regardless? shaderc uses glsl internally.
Or are they shown already? Haven't really used vulkano recently.

@rukai
Copy link
Member

rukai commented Oct 26, 2018

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

@rukai rukai reopened this Oct 26, 2018
@Rua
Copy link
Contributor

Rua commented Aug 12, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants