frontend: make the warning on missing `glslangValidator` an advice
authorAlexis Laferrière <alexis.laf@xymus.net>
Sun, 28 Aug 2016 15:12:58 +0000 (11:12 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Sun, 28 Aug 2016 15:12:58 +0000 (11:12 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

src/frontend/glsl_validation.nit

index 2d61ce0..1d11589 100644 (file)
@@ -69,7 +69,7 @@ private class GLSLValidationPhase
                        in_path = status == 0
                        tool_is_in_path = in_path
                        if not in_path then
-                               toolcontext.warning(nat.location, "glslvalidator",
+                               toolcontext.advice(nat.location, "glslvalidator",
                                        "Warning: program `glslangValidator` not in PATH, cannot validate this shader.")
                                return
                        end