Update rules for "GL_", "gl_", and "__" to match latest specification bug fixes.

git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@25392 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2014-02-18 21:55:42 +00:00
parent 3bef952d48
commit 52c351442c
7 changed files with 92 additions and 30 deletions

View file

@ -8,15 +8,22 @@ ERROR: 0:22: 'vn8' : illegal use of type 'void'
ERROR: 0:22: 'vp' : illegal use of type 'void'
ERROR: 0:25: 'cij' : variables with qualifier 'const' must be initialized
ERROR: 0:27: 'cip' : variables with qualifier 'const' must be initialized
ERROR: 0:34: 'gl_' : reserved built-in name: gl_vi4
ERROR: 0:35: 'gl_' : reserved built-in name: gl_vj
ERROR: 0:35: 'gl_' : reserved built-in name: gl_vk5
ERROR: 0:36: 'gl_' : reserved built-in name: gl_vm2
ERROR: 0:36: 'gl_' : reserved built-in name: gl_vm3
ERROR: 0:37: 'gl_' : reserved built-in name: gl_vn8
ERROR: 0:37: 'gl_' : reserved built-in name: gl_vp
ERROR: 0:34: 'gl_vi4' : identifiers starting with "gl_" are reserved
ERROR: 0:35: 'gl_vj' : identifiers starting with "gl_" are reserved
ERROR: 0:35: 'gl_vk5' : identifiers starting with "gl_" are reserved
ERROR: 0:36: 'gl_vm2' : identifiers starting with "gl_" are reserved
ERROR: 0:36: 'gl_vm3' : identifiers starting with "gl_" are reserved
ERROR: 0:37: 'gl_vn8' : identifiers starting with "gl_" are reserved
ERROR: 0:37: 'gl_vp' : identifiers starting with "gl_" are reserved
ERROR: 0:42: '' : boolean expression expected
ERROR: 0:43: 'gl_' : reserved built-in name: gl_cond
ERROR: 0:43: 'gl_cond' : identifiers starting with "gl_" are reserved
WARNING: 0:46: 'foob__vi4' : identifiers containing consecutive underscores ("__") are reserved
WARNING: 0:47: 'foob__vj' : identifiers containing consecutive underscores ("__") are reserved
WARNING: 0:47: 'foob__vk5' : identifiers containing consecutive underscores ("__") are reserved
WARNING: 0:48: '__foobvm2' : identifiers containing consecutive underscores ("__") are reserved
WARNING: 0:48: '__foobvm3' : identifiers containing consecutive underscores ("__") are reserved
WARNING: 0:49: 'foob__vn8' : identifiers containing consecutive underscores ("__") are reserved
WARNING: 0:49: 'foob__vp' : identifiers containing consecutive underscores ("__") are reserved
ERROR: 18 compilation errors. No code generated.
@ -135,6 +142,43 @@ ERROR: node is still EOpNull!
0:43 'b' (int)
0:43 'c' (int)
0:43 No loop body
0:46 Sequence
0:46 move second child to first child (4-element array of int)
0:46 'foob__vi4' (4-element array of int)
0:46 Constant:
0:46 1 (const int)
0:46 2 (const int)
0:46 3 (const int)
0:46 4 (const int)
0:47 Sequence
0:47 move second child to first child (5-element array of int)
0:47 'foob__vk5' (5-element array of int)
0:47 Constant:
0:47 5 (const int)
0:47 6 (const int)
0:47 7 (const int)
0:47 8 (const int)
0:47 9 (const int)
0:48 Sequence
0:48 move second child to first child (2-element array of int)
0:48 '__foobvm2' (2-element array of int)
0:48 Constant:
0:48 10 (const int)
0:48 11 (const int)
0:48 move second child to first child (3-element array of int)
0:48 '__foobvm3' (3-element array of int)
0:48 Constant:
0:48 12 (const int)
0:48 13 (const int)
0:48 14 (const int)
0:49 Sequence
0:49 move second child to first child (4-element array of int)
0:49 'foob__vn8' (4-element array of int)
0:49 Constant:
0:49 21 (const int)
0:49 22 (const int)
0:49 23 (const int)
0:49 24 (const int)
0:? Linker Objects
0:? 'a' (int)
0:? 'b' (int)
@ -215,6 +259,13 @@ ERROR: node is still EOpNull!
0:? 'gl_vm3' (3-element array of int)
0:? 'gl_vn8' (4-element array of int)
0:? 'gl_vp' (int)
0:? 'foob__vi4' (4-element array of int)
0:? 'foob__vj' (int)
0:? 'foob__vk5' (5-element array of int)
0:? '__foobvm2' (2-element array of int)
0:? '__foobvm3' (3-element array of int)
0:? 'foob__vn8' (4-element array of int)
0:? 'foob__vp' (int)
Linked fragment stage: