Add missing precision qualifier checks to function formal parameter declarations.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@28442 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2014-10-06 19:39:13 +00:00
parent 758c15720d
commit f57aa7bd91
5 changed files with 10 additions and 5 deletions

View file

@ -1,4 +1,5 @@
300.frag
ERROR: 0:2: 'float' : type requires declaration of default precision qualifier
ERROR: 0:30: 'noperspective' : Reserved word.
ERROR: 0:30: 'noperspective' : not supported with this profile: es
ERROR: 0:31: 'sampler2D' : sampler/image types can only be used in uniform variables or function parameters: bads
@ -37,7 +38,7 @@ ERROR: 0:148: 'qualifier' : cannot use auxiliary, memory, interpolation, or prec
ERROR: 0:150: 'early_fragment_tests' : not supported for this version or the enabled extensions
ERROR: 0:152: 'imageBuffer' : Reserved word.
ERROR: 0:152: '' : syntax error
ERROR: 38 compilation errors. No code generated.
ERROR: 39 compilation errors. No code generated.
Shader version: 300