Stop emitting the "#version missing" warning, and hook up the existing "suppress warnings" to a command-line option (-w).

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23952 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2013-11-07 17:44:20 +00:00
parent d627502d07
commit b0a7eb599b
9 changed files with 46 additions and 21 deletions

View File

@@ -1,4 +1,3 @@
WARNING: #version: statement missing; use #version on first line of shader
ERROR: 0:46: 'xyxwx' : illegal vector field selection
ERROR: 0:46: 'xyxwx' : illegal vector field selection
ERROR: 2 compilation errors. No code generated.