Merge: frontend: make the warning on unavailable glslangValidator an advice
authorJean Privat <jean@pryen.org>
Thu, 1 Sep 2016 01:53:17 +0000 (21:53 -0400)
committerJean Privat <jean@pryen.org>
Thu, 1 Sep 2016 01:53:17 +0000 (21:53 -0400)
commit69b83ebfb2f27c3f83ff6c9d8a180a2c00c8d402
tree61e568e3b8a967732d21a418de2732428be3eaf5
parent4278dfa8be17442ea5ad726c917945ca2dff2e92
parent83bc101e00ba03fc4d81ef385c9cad5054b0950c
Merge: frontend: make the warning on unavailable glslangValidator an advice

Changes the following warning to an advice and raise it at each use of the annotations (instead of only once).

~~~
/nit/lib/gamnit/flat.nit:355,9--26: Warning: program `glslangValidator` not in PATH, cannot validate this shader. (glslvalidator)
""" @ glsl_vertex_shader
~~~

Pull-Request: #2299
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>