Misc semantics fixes:
- don't allow pre-array object versions to return a struct containing an array - special case -2147483648 / -1 - include "~" in the full integer functionality checks - handle multiple function parameters having the same name git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24010 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
@@ -2,6 +2,7 @@ ERROR: 0:3: 'float' : type requires declaration of default precision qualifier
|
||||
ERROR: 0:3: '' : array size required
|
||||
ERROR: 0:9: 'arrayed type' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:9: 'arrayed type' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:9: 'array in function return type' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:11: 'arrayed constructor' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:21: '[' : array index out of range '2'
|
||||
ERROR: 0:24: 'array assignment' : not supported for this version or the enabled extensions
|
||||
@@ -15,7 +16,10 @@ ERROR: 0:31: 'array comparison' : not supported for this version or the enabled
|
||||
ERROR: 0:35: '[' : array index out of range '5'
|
||||
ERROR: 0:38: '[' : array index out of range '1000'
|
||||
ERROR: 0:39: '[' : index out of range '-1'
|
||||
ERROR: 17 compilation errors. No code generated.
|
||||
ERROR: 0:53: 'array in function return type' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:66: 'array assignment' : not supported for this version or the enabled extensions
|
||||
ERROR: 0:68: 'array assignment' : not supported for this version or the enabled extensions
|
||||
ERROR: 21 compilation errors. No code generated.
|
||||
|
||||
ERROR: node is still EOpNull!
|
||||
0:9 Function Definition: foo(f1[5]; (4-element array of mediump float)
|
||||
@@ -120,6 +124,25 @@ ERROR: node is still EOpNull!
|
||||
0:40 1.000000
|
||||
0:40 1.000000
|
||||
0:40 1.000000
|
||||
0:53 Function Definition: bar9( (structure{v4,sa})
|
||||
0:53 Function Parameters:
|
||||
0:? Sequence
|
||||
0:56 Branch: Return with expression
|
||||
0:56 's' (structure{v4,sa})
|
||||
0:59 Function Definition: bar10(struct-SB-vf4-struct-SA-vf3-vf2[4]11; (void)
|
||||
0:59 Function Parameters:
|
||||
0:59 's' (in structure{v4,sa})
|
||||
0:63 Function Definition: bar11( (void)
|
||||
0:63 Function Parameters:
|
||||
0:? Sequence
|
||||
0:66 move second child to first child (structure{v4,sa})
|
||||
0:66 's1' (structure{v4,sa})
|
||||
0:66 's2' (structure{v4,sa})
|
||||
0:67 Function Call: bar10(struct-SB-vf4-struct-SA-vf3-vf2[4]11; (void)
|
||||
0:67 's1' (structure{v4,sa})
|
||||
0:68 move second child to first child (structure{v4,sa})
|
||||
0:68 's2' (structure{v4,sa})
|
||||
0:68 Function Call: bar9( (structure{v4,sa})
|
||||
0:? Linker Objects
|
||||
0:? 'gu' (unsized array of mediump float)
|
||||
0:? 'g4' (4-element array of mediump float)
|
||||
|
||||
Reference in New Issue
Block a user