Add message indicating level of completeness for not-yet-complete versions.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23313 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2013-10-01 23:13:50 +00:00
parent e29e4af7a7
commit 447fc3613a
77 changed files with 104 additions and 4 deletions

View File

@ -1,3 +1,4 @@
Warning, version 120 is not yet complete; most features are present, but a few are missing.
ERROR: 0:9: 'in for stage inputs' : not supported for this version or the enabled extensions ERROR: 0:9: 'in for stage inputs' : not supported for this version or the enabled extensions
ERROR: 0:10: 'out for stage outputs' : not supported for this version or the enabled extensions ERROR: 0:10: 'out for stage outputs' : not supported for this version or the enabled extensions
ERROR: 0:54: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type '2-component vector of float' and a right operand of type '3-component vector of float' (or there is no acceptable conversion) ERROR: 0:54: '+' : wrong operand types: no operation '+' exists that takes a left-hand operand of type '2-component vector of float' and a right operand of type '3-component vector of float' (or there is no acceptable conversion)

View File

@ -1,3 +1,4 @@
Warning, version 120 is not yet complete; most features are present, but a few are missing.
ERROR: 0:3: 'in for stage inputs' : not supported for this version or the enabled extensions ERROR: 0:3: 'in for stage inputs' : not supported for this version or the enabled extensions
ERROR: 0:4: 'out for stage outputs' : not supported for this version or the enabled extensions ERROR: 0:4: 'out for stage outputs' : not supported for this version or the enabled extensions
ERROR: 0:11: 'gl_Position' : cannot add storage, auxiliary, memory, interpolation, or precision qualifier to an existing variable ERROR: 0:11: 'gl_Position' : cannot add storage, auxiliary, memory, interpolation, or precision qualifier to an existing variable

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:16 Function Definition: main( (void) 0:16 Function Definition: main( (void)
0:16 Function Parameters: 0:16 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 140 is not yet complete; most features are present, but a few are missing.
WARNING: 0:3: varying deprecated in version 130; may be removed in future release WARNING: 0:3: varying deprecated in version 130; may be removed in future release
ERROR: 0:14: '#error' : GL_ES is not set ERROR: 0:14: '#error' : GL_ES is not set
ERROR: 1 compilation errors. No code generated. ERROR: 1 compilation errors. No code generated.

View File

@ -1,3 +1,4 @@
Warning, version 330 is not yet complete; some version-specific are present, but many are missing.
WARNING: 0:6: varying deprecated in version 130; may be removed in future release WARNING: 0:6: varying deprecated in version 130; may be removed in future release
0:? Sequence 0:? Sequence
0:8 Function Definition: main( (void) 0:8 Function Definition: main( (void)

View File

@ -1,3 +1,4 @@
Warning, version 330 is not yet complete; some version-specific are present, but many are missing.
0:? Sequence 0:? Sequence
0:8 Function Definition: main( (void) 0:8 Function Definition: main( (void)
0:8 Function Parameters: 0:8 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 330 is not yet complete; some version-specific are present, but many are missing.
ERROR: 0:11: 'variable indexing sampler array' : not supported for this version or the enabled extensions ERROR: 0:11: 'variable indexing sampler array' : not supported for this version or the enabled extensions
ERROR: 1 compilation errors. No code generated. ERROR: 1 compilation errors. No code generated.

View File

@ -1,3 +1,4 @@
Warning, version 400 is not yet complete; some version-specific are present, but many are missing.
0:? Sequence 0:? Sequence
0:3 Function Definition: main( (void) 0:3 Function Definition: main( (void)
0:3 Function Parameters: 0:3 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 400 is not yet complete; some version-specific are present, but many are missing.
0:? Sequence 0:? Sequence
0:3 Function Definition: main( (void) 0:3 Function Definition: main( (void)
0:3 Function Parameters: 0:3 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 400 is not yet complete; some version-specific are present, but many are missing.
ERROR: 0:5: 'barrier' : no matching overloaded function found ERROR: 0:5: 'barrier' : no matching overloaded function found
ERROR: 1 compilation errors. No code generated. ERROR: 1 compilation errors. No code generated.

View File

@ -1,3 +1,4 @@
Warning, version 420 is not yet complete; some version-specific are present, but many are missing.
0:? Sequence 0:? Sequence
0:3 Function Definition: main( (void) 0:3 Function Definition: main( (void)
0:3 Function Parameters: 0:3 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 420 is not yet complete; some version-specific are present, but many are missing.
WARNING: 0:3: varying deprecated in version 130; may be removed in future release WARNING: 0:3: varying deprecated in version 130; may be removed in future release
ERROR: 0:3: 'varying' : no longer supported in core profile; removed in version 420 ERROR: 0:3: 'varying' : no longer supported in core profile; removed in version 420
ERROR: 0:7: '' : vertex input cannot be further qualified ERROR: 0:7: '' : vertex input cannot be further qualified

View File

@ -1,3 +1,4 @@
Warning, version 430 is not yet complete; some version-specific are present, but many are missing.
0:? Sequence 0:? Sequence
0:3 Function Definition: main( (void) 0:3 Function Definition: main( (void)
0:3 Function Parameters: 0:3 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 430 is not yet complete; some version-specific are present, but many are missing.
ERROR: 0:5: 'a' : redefinition ERROR: 0:5: 'a' : redefinition
ERROR: 0:17: 'b' : illegal redeclaration ERROR: 0:17: 'b' : illegal redeclaration
ERROR: 0:19: 'f' : redefinition ERROR: 0:19: 'f' : redefinition

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:15 Function Definition: main( (void) 0:15 Function Definition: main( (void)
0:15 Function Parameters: 0:15 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:4: varying deprecated in version 130; may be removed in future release WARNING: 0:4: varying deprecated in version 130; may be removed in future release
WARNING: 0:6: varying deprecated in version 130; may be removed in future release WARNING: 0:6: varying deprecated in version 130; may be removed in future release
0:? Sequence 0:? Sequence

View File

@ -1,3 +1,4 @@
Warning, version 110 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:4 Function Definition: main( (void) 0:4 Function Definition: main( (void)
0:4 Function Parameters: 0:4 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 110 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:4 Function Definition: main( (void) 0:4 Function Definition: main( (void)
0:4 Function Parameters: 0:4 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
ERROR: 0:21: '[' : array index out of range '2' ERROR: 0:21: '[' : array index out of range '2'
ERROR: 0:27: '[' : array must be redeclared with a size before being indexed with a variable ERROR: 0:27: '[' : array must be redeclared with a size before being indexed with a variable
ERROR: 0:30: 'assign' : cannot convert from '4-element array of float' to '5-element array of float' ERROR: 0:30: 'assign' : cannot convert from '4-element array of float' to '5-element array of float'

View File

@ -1,3 +1,4 @@
Warning, version 430 is not yet complete; some version-specific are present, but many are missing.
0:? Sequence 0:? Sequence
0:17 Function Definition: main( (void) 0:17 Function Definition: main( (void)
0:17 Function Parameters: 0:17 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 110 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:6 Function Definition: main( (void) 0:6 Function Definition: main( (void)
0:6 Function Parameters: 0:6 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 330 is not yet complete; some version-specific are present, but many are missing.
ERROR: 0:14: '=' : assigning non-constant to 'const int' ERROR: 0:14: '=' : assigning non-constant to 'const int'
ERROR: 0:17: '' : constant expression required ERROR: 0:17: '' : constant expression required
ERROR: 0:17: '' : array size must be a constant integer expression ERROR: 0:17: '' : array size must be a constant integer expression

View File

@ -1,3 +1,4 @@
Warning, version 430 is not yet complete; some version-specific are present, but many are missing.
0:? Sequence 0:? Sequence
0:28 Function Definition: main( (void) 0:28 Function Definition: main( (void)
0:28 Function Parameters: 0:28 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:33 Function Definition: main( (void) 0:33 Function Definition: main( (void)
0:33 Function Parameters: 0:33 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 110 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:5 Sequence 0:5 Sequence
0:5 move second child to first child (float) 0:5 move second child to first child (float)

View File

@ -1,3 +1,4 @@
Warning, version 110 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:5 Sequence 0:5 Sequence
0:5 move second child to first child (float) 0:5 move second child to first child (float)

View File

@ -1,3 +1,4 @@
Warning, version 110 is not yet complete; most features are present, but a few are missing.
ERROR: 0:77: '#error' : good1 ERROR: 0:77: '#error' : good1
ERROR: 0:81: '#error' : good2 ERROR: 0:81: '#error' : good2
ERROR: 0:85: '#error' : good3 ERROR: 0:85: '#error' : good3

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:3: varying deprecated in version 130; may be removed in future release WARNING: 0:3: varying deprecated in version 130; may be removed in future release
0:? Sequence 0:? Sequence
0:5 Function Definition: main( (void) 0:5 Function Definition: main( (void)

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:3: varying deprecated in version 130; may be removed in future release WARNING: 0:3: varying deprecated in version 130; may be removed in future release
0:? Sequence 0:? Sequence
0:7 Function Definition: main( (void) 0:7 Function Definition: main( (void)

View File

@ -1,3 +1,4 @@
Warning, version 400 is not yet complete; some version-specific are present, but many are missing.
0:? Sequence 0:? Sequence
0:5 Sequence 0:5 Sequence
0:5 move second child to first child (int) 0:5 move second child to first child (int)

View File

@ -1,3 +1,4 @@
Warning, version 120 is not yet complete; most features are present, but a few are missing.
ERROR: 0:19: 'vi4' : illegal use of type 'void' ERROR: 0:19: 'vi4' : illegal use of type 'void'
ERROR: 0:20: 'vj' : illegal use of type 'void' ERROR: 0:20: 'vj' : illegal use of type 'void'
ERROR: 0:20: 'vk5' : illegal use of type 'void' ERROR: 0:20: 'vk5' : illegal use of type 'void'

View File

@ -1,3 +1,4 @@
Warning, version 120 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:5 Sequence 0:5 Sequence
0:5 move second child to first child (4-component vector of float) 0:5 move second child to first child (4-component vector of float)

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:3: varying deprecated in version 130; may be removed in future release WARNING: 0:3: varying deprecated in version 130; may be removed in future release
WARNING: 0:4: varying deprecated in version 130; may be removed in future release WARNING: 0:4: varying deprecated in version 130; may be removed in future release
0:? Sequence 0:? Sequence

View File

@ -1,3 +1,4 @@
Warning, version 110 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:4 Function Definition: main( (void) 0:4 Function Definition: main( (void)
0:4 Function Parameters: 0:4 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 110 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:7 Function Definition: main( (void) 0:7 Function Definition: main( (void)
0:7 Function Parameters: 0:7 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 110 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:19 Function Definition: main( (void) 0:19 Function Definition: main( (void)
0:19 Function Parameters: 0:19 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 120 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:10 Function Definition: main( (void) 0:10 Function Definition: main( (void)
0:10 Function Parameters: 0:10 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 120 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:8 Function Definition: main( (void) 0:8 Function Definition: main( (void)
0:8 Function Parameters: 0:8 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 110 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:11 Function Definition: main( (void) 0:11 Function Definition: main( (void)
0:11 Function Parameters: 0:11 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:4: varying deprecated in version 130; may be removed in future release WARNING: 0:4: varying deprecated in version 130; may be removed in future release
0:? Sequence 0:? Sequence
0:7 Sequence 0:7 Sequence

View File

@ -1,3 +1,4 @@
Warning, version 120 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:11 Function Definition: main( (void) 0:11 Function Definition: main( (void)
0:11 Function Parameters: 0:11 Function Parameters:

View File

@ -1,4 +1,5 @@
link1.frag link1.frag
Warning, version 130 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:8 Sequence 0:8 Sequence
@ -79,6 +80,7 @@ link1.frag
0:? 3.900000 0:? 3.900000
link2.frag link2.frag
Warning, version 130 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:8 Sequence 0:8 Sequence

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:4: varying deprecated in version 130; may be removed in future release WARNING: 0:4: varying deprecated in version 130; may be removed in future release
WARNING: 0:5: varying deprecated in version 130; may be removed in future release WARNING: 0:5: varying deprecated in version 130; may be removed in future release
0:? Sequence 0:? Sequence

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:14: varying deprecated in version 130; may be removed in future release WARNING: 0:14: varying deprecated in version 130; may be removed in future release
0:? Sequence 0:? Sequence
0:53 Function Definition: main( (void) 0:53 Function Definition: main( (void)

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:14: varying deprecated in version 130; may be removed in future release WARNING: 0:14: varying deprecated in version 130; may be removed in future release
0:? Sequence 0:? Sequence
0:53 Function Definition: main( (void) 0:53 Function Definition: main( (void)

View File

@ -1,4 +1,5 @@
mains1.frag mains1.frag
Warning, version 110 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:3 Function Definition: main( (void) 0:3 Function Definition: main( (void)
@ -6,6 +7,7 @@ mains1.frag
0:? Linker Objects 0:? Linker Objects
mains2.frag mains2.frag
Warning, version 110 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:3 Function Definition: main( (void) 0:3 Function Definition: main( (void)
@ -14,6 +16,7 @@ mains2.frag
noMain1.geom noMain1.geom
ERROR: #version: geometry shaders require non-es profile and version 150 or above ERROR: #version: geometry shaders require non-es profile and version 150 or above
Warning, version 150 is not yet complete; some version-specific are present, but many are missing.
ERROR: 1 compilation errors. No code generated. ERROR: 1 compilation errors. No code generated.
@ -23,6 +26,7 @@ ERROR: node is still EOpNull!
0:? Linker Objects 0:? Linker Objects
noMain2.geom noMain2.geom
Warning, version 150 is not yet complete; some version-specific are present, but many are missing.
0:? Sequence 0:? Sequence
0:3 Function Definition: bar( (void) 0:3 Function Definition: bar( (void)

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:6: varying deprecated in version 130; may be removed in future release WARNING: 0:6: varying deprecated in version 130; may be removed in future release
WARNING: 0:17: varying deprecated in version 130; may be removed in future release WARNING: 0:17: varying deprecated in version 130; may be removed in future release
WARNING: 0:22: varying deprecated in version 130; may be removed in future release WARNING: 0:22: varying deprecated in version 130; may be removed in future release

View File

@ -1,3 +1,4 @@
Warning, version 150 is not yet complete; some version-specific are present, but many are missing.
WARNING: 0:4: varying deprecated in version 130; may be removed in future release WARNING: 0:4: varying deprecated in version 130; may be removed in future release
WARNING: 0:13: varying deprecated in version 130; may be removed in future release WARNING: 0:13: varying deprecated in version 130; may be removed in future release
WARNING: 0:15: varying deprecated in version 130; may be removed in future release WARNING: 0:15: varying deprecated in version 130; may be removed in future release

View File

@ -1,3 +1,4 @@
Warning, version 120 is not yet complete; most features are present, but a few are missing.
ERROR: 0:10: 'constructor' : too many arguments ERROR: 0:10: 'constructor' : too many arguments
ERROR: 0:7: '=' : cannot assign to 'const 2X4 matrix of float' ERROR: 0:7: '=' : cannot assign to 'const 2X4 matrix of float'
ERROR: 0:17: 'assign' : cannot convert from '2-component vector of float' to '3-component vector of float' ERROR: 0:17: 'assign' : cannot convert from '2-component vector of float' to '3-component vector of float'

View File

@ -1,3 +1,4 @@
Warning, version 430 is not yet complete; some version-specific are present, but many are missing.
0:? Sequence 0:? Sequence
0:34 Function Definition: main( (void) 0:34 Function Definition: main( (void)
0:34 Function Parameters: 0:34 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 120 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:15 Function Definition: main( (void) 0:15 Function Definition: main( (void)
0:15 Function Parameters: 0:15 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 400 is not yet complete; some version-specific are present, but many are missing.
ERROR: 0:14: '' : octal literal digit too large ERROR: 0:14: '' : octal literal digit too large
ERROR: 0:15: '' : octal literal digit too large ERROR: 0:15: '' : octal literal digit too large
ERROR: 0:16: '' : octal literal digit too large ERROR: 0:16: '' : octal literal digit too large

View File

@ -1,3 +1,4 @@
Warning, version 140 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:3 Function Definition: main( (void) 0:3 Function Definition: main( (void)
0:3 Function Parameters: 0:3 Function Parameters:

View File

@ -1,4 +1,5 @@
recurse1.vert recurse1.vert
Warning, version 330 is not yet complete; some version-specific are present, but many are missing.
0:? Sequence 0:? Sequence
0:3 Function Definition: main( (void) 0:3 Function Definition: main( (void)
@ -68,6 +69,7 @@ recurse1.vert
0:? 'gl_InstanceID' (gl_InstanceId int) 0:? 'gl_InstanceID' (gl_InstanceId int)
recurse1.frag recurse1.frag
Warning, version 330 is not yet complete; some version-specific are present, but many are missing.
0:? Sequence 0:? Sequence
0:5 Function Definition: main( (void) 0:5 Function Definition: main( (void)
@ -102,6 +104,7 @@ recurse1.frag
0:? Linker Objects 0:? Linker Objects
recurse2.frag recurse2.frag
Warning, version 330 is not yet complete; some version-specific are present, but many are missing.
0:? Sequence 0:? Sequence
0:9 Function Definition: cbar(i1; (float) 0:9 Function Definition: cbar(i1; (float)

View File

@ -1,3 +1,4 @@
Warning, version 110 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:38 Function Definition: main( (void) 0:38 Function Definition: main( (void)
0:38 Function Parameters: 0:38 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 110 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:38 Function Definition: main( (void) 0:38 Function Definition: main( (void)
0:38 Function Parameters: 0:38 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 150 is not yet complete; some version-specific are present, but many are missing.
WARNING: 0:4: varying deprecated in version 130; may be removed in future release WARNING: 0:4: varying deprecated in version 130; may be removed in future release
0:? Sequence 0:? Sequence
0:7 Function Definition: foo( (4-component vector of float) 0:7 Function Definition: foo( (4-component vector of float)

View File

@ -1,3 +1,4 @@
Warning, version 430 is not yet complete; some version-specific are present, but many are missing.
ERROR: 0:6: '=' : cannot convert from 'const uint' to 'int' ERROR: 0:6: '=' : cannot convert from 'const uint' to 'int'
ERROR: 0:20: '' : numeric literal too big ERROR: 0:20: '' : numeric literal too big
ERROR: 0:21: '' : hexidecimal literal too big ERROR: 0:21: '' : hexidecimal literal too big

View File

@ -1,3 +1,4 @@
Warning, version 430 is not yet complete; some version-specific are present, but many are missing.
ERROR: 0:5: 'Vertex' : only uniform interface blocks are supported ERROR: 0:5: 'Vertex' : only uniform interface blocks are supported
ERROR: 0:10: 'Vertex2' : only uniform interface blocks are supported ERROR: 0:10: 'Vertex2' : only uniform interface blocks are supported
ERROR: 0:23: 'transforms' : redeclaration of array with size ERROR: 0:23: 'transforms' : redeclaration of array with size

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:4: varying deprecated in version 130; may be removed in future release WARNING: 0:4: varying deprecated in version 130; may be removed in future release
0:? Sequence 0:? Sequence
0:29 Function Definition: main( (void) 0:29 Function Definition: main( (void)

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:4: varying deprecated in version 130; may be removed in future release WARNING: 0:4: varying deprecated in version 130; may be removed in future release
0:? Sequence 0:? Sequence
0:41 Function Definition: main( (void) 0:41 Function Definition: main( (void)

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:3: varying deprecated in version 130; may be removed in future release WARNING: 0:3: varying deprecated in version 130; may be removed in future release
0:? Sequence 0:? Sequence
0:20 Function Definition: main( (void) 0:20 Function Definition: main( (void)

View File

@ -1,3 +1,4 @@
Warning, version 110 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:9 Function Definition: main( (void) 0:9 Function Definition: main( (void)
0:9 Function Parameters: 0:9 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 120 is not yet complete; most features are present, but a few are missing.
ERROR: 0:9: 'vec5' : undeclared identifier ERROR: 0:9: 'vec5' : undeclared identifier
ERROR: 0:9: '' : syntax error ERROR: 0:9: '' : syntax error
ERROR: 2 compilation errors. No code generated. ERROR: 2 compilation errors. No code generated.

View File

@ -1,3 +1,4 @@
Warning, version 110 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:13 Function Definition: main( (void) 0:13 Function Definition: main( (void)
0:13 Function Parameters: 0:13 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:14: varying deprecated in version 130; may be removed in future release WARNING: 0:14: varying deprecated in version 130; may be removed in future release
WARNING: 0:15: varying deprecated in version 130; may be removed in future release WARNING: 0:15: varying deprecated in version 130; may be removed in future release
0:? Sequence 0:? Sequence

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:33 Function Definition: main( (void) 0:33 Function Definition: main( (void)
0:33 Function Parameters: 0:33 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:7 Function Definition: main( (void) 0:7 Function Definition: main( (void)
0:7 Function Parameters: 0:7 Function Parameters:

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:3: varying deprecated in version 130; may be removed in future release WARNING: 0:3: varying deprecated in version 130; may be removed in future release
0:? Sequence 0:? Sequence
0:29 Function Definition: main( (void) 0:29 Function Definition: main( (void)

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:3: varying deprecated in version 130; may be removed in future release WARNING: 0:3: varying deprecated in version 130; may be removed in future release
WARNING: 0:4: varying deprecated in version 130; may be removed in future release WARNING: 0:4: varying deprecated in version 130; may be removed in future release
WARNING: 0:6: varying deprecated in version 130; may be removed in future release WARNING: 0:6: varying deprecated in version 130; may be removed in future release

View File

@ -1,3 +1,4 @@
Warning, version 130 is not yet complete; most features are present, but a few are missing.
WARNING: 0:3: varying deprecated in version 130; may be removed in future release WARNING: 0:3: varying deprecated in version 130; may be removed in future release
WARNING: 0:4: varying deprecated in version 130; may be removed in future release WARNING: 0:4: varying deprecated in version 130; may be removed in future release
WARNING: 0:6: varying deprecated in version 130; may be removed in future release WARNING: 0:6: varying deprecated in version 130; may be removed in future release

View File

@ -1,3 +1,4 @@
Warning, version 420 is not yet complete; some version-specific are present, but many are missing.
0:? Sequence 0:? Sequence
0:40 Function Definition: main( (void) 0:40 Function Definition: main( (void)
0:40 Function Parameters: 0:40 Function Parameters:

View File

@ -1,4 +1,5 @@
ERROR: #version: versions before 150 do not allow a profile token ERROR: #version: versions before 150 do not allow a profile token
Warning, version 110 is not yet complete; most features are present, but a few are missing.
ERROR: 0:38: 'attribute' : not supported in this stage: fragment ERROR: 0:38: 'attribute' : not supported in this stage: fragment
ERROR: 0:40: 'sampler2DRect' : Reserved word. ERROR: 0:40: 'sampler2DRect' : Reserved word.
ERROR: 0:40: 'rectangle texture' : not supported for this version or the enabled extensions ERROR: 0:40: 'rectangle texture' : not supported for this version or the enabled extensions

View File

@ -1,3 +1,4 @@
Warning, version 420 is not yet complete; some version-specific are present, but many are missing.
WARNING: 0:38: attribute deprecated in version 130; may be removed in future release WARNING: 0:38: attribute deprecated in version 130; may be removed in future release
ERROR: 0:38: 'attribute' : no longer supported in core profile; removed in version 420 ERROR: 0:38: 'attribute' : no longer supported in core profile; removed in version 420
ERROR: 0:45: 'discard' : not supported in this stage: vertex ERROR: 0:45: 'discard' : not supported in this stage: vertex

View File

@ -1,3 +1,4 @@
Warning, version 120 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:7 Sequence 0:7 Sequence
0:7 move second child to first child (float) 0:7 move second child to first child (float)

View File

@ -1,3 +1,4 @@
Warning, version 110 is not yet complete; most features are present, but a few are missing.
0:? Sequence 0:? Sequence
0:7 Function Definition: main( (void) 0:7 Function Definition: main( (void)
0:7 Function Parameters: 0:7 Function Parameters:

View File

@ -74,11 +74,12 @@ int MapVersionToIndex(int version)
case 410: return 9; case 410: return 9;
case 420: return 10; case 420: return 10;
case 430: return 11; case 430: return 11;
case 440: return 12;
default: // | default: // |
return 0; // | return 0; // |
} // | } // |
} // V } // V
const int VersionCount = 12; const int VersionCount = 13; // number of case statements above
// only one of these needed for non-ES; ES needs 2 for different precision defaults of built-ins // only one of these needed for non-ES; ES needs 2 for different precision defaults of built-ins
enum EPrecisionClass { enum EPrecisionClass {
@ -359,6 +360,23 @@ bool DeduceVersionProfile(TInfoSink& infoSink, EShLanguage stage, bool versionNo
infoSink.info.message(EPrefixError, "#version: statement must appear first in es-profile shader; before comments or newlines"); infoSink.info.message(EPrefixError, "#version: statement must appear first in es-profile shader; before comments or newlines");
} }
// A metecheck on the condition the compiler itself...
switch(version) {
case 100:
case 300:
// versions are complete
break;
case 110:
case 120:
case 130:
case 140:
infoSink.info << "Warning, version " << version << " is not yet complete; most features are present, but a few are missing.\n";
break;
default:
infoSink.info << "Warning, version " << version << " is not yet complete; some version-specific are present, but many are missing.\n";
break;
}
return correct; return correct;
} }