aboutsummaryrefslogtreecommitdiff
path: root/Test/baseResults/100.frag.out
diff options
context:
space:
mode:
authorJohn Kessenich <cepheus@frii.com>2014-05-27 01:34:38 +0000
committerJohn Kessenich <cepheus@frii.com>2014-05-27 01:34:38 +0000
commit974258d88fe5172b4df2955b0ab1d2c27ee511b9 (patch)
treec44d4761316158e00a119d790f5d7cc8ddf84ded /Test/baseResults/100.frag.out
parent6e62d92cfb4f8b1e8e3a57844d7598ee570c075d (diff)
downloadglslang-974258d88fe5172b4df2955b0ab1d2c27ee511b9.tar.gz
Fix, and add missing tests for, error catching for applying swizzles to arrays.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26858 e7fa87d3-cd2b-0410-9028-fcbf551c1848
Diffstat (limited to 'Test/baseResults/100.frag.out')
-rw-r--r--Test/baseResults/100.frag.out34
1 files changed, 32 insertions, 2 deletions
diff --git a/Test/baseResults/100.frag.out b/Test/baseResults/100.frag.out
index bf72cd8f..c3a0402f 100644
--- a/Test/baseResults/100.frag.out
+++ b/Test/baseResults/100.frag.out
@@ -67,8 +67,18 @@ ERROR: 0:167: 'highp' : overloaded functions must have the same parameter precis
ERROR: 0:170: 'multiple prototypes for same function' : not supported for this version or the enabled extensions
ERROR: 0:177: 'multiple prototypes for same function' : not supported for this version or the enabled extensions
ERROR: 0:179: 'fragment-shader struct input' : not supported for this version or the enabled extensions
-ERROR: 0:181: '' : syntax error
-ERROR: 62 compilation errors. No code generated.
+ERROR: 0:183: 'v' : illegal use of type 'void'
+ERROR: 0:184: 'void' : cannot be an argument type except for '(void)'
+ERROR: 0:185: 'v' : illegal use of type 'void'
+ERROR: 0:185: 'void' : cannot be an argument type except for '(void)'
+ERROR: 0:190: '.' : cannot apply to an array: y
+ERROR: 0:191: '.' : cannot apply to an array: zy
+ERROR: 0:192: '.' : cannot apply to an array: nothing
+ERROR: 0:193: '.length' : not supported for this version or the enabled extensions
+ERROR: 0:194: '.' : cannot apply to an array: method
+ERROR: 0:194: 'a' : can't use function syntax on variable
+ERROR: 0:197: '' : syntax error
+ERROR: 72 compilation errors. No code generated.
Shader version: 100
@@ -326,6 +336,16 @@ ERROR: node is still EOpNull!
0:175 Branch: Return with expression
0:175 Constant:
0:175 2 (const int)
+0:187 Function Definition: badswizzle( (void)
+0:187 Function Parameters:
+0:? Sequence
+0:190 'a' (5-element array of mediump 3-component vector of float)
+0:191 'a' (5-element array of mediump 3-component vector of float)
+0:192 'a' (5-element array of mediump 3-component vector of float)
+0:193 Constant:
+0:193 5 (const int)
+0:194 Constant:
+0:194 0.000000
0:? Linker Objects
0:? 'a' (3-element array of mediump int)
0:? 'uint' (mediump int)
@@ -610,6 +630,16 @@ ERROR: node is still EOpNull!
0:175 Branch: Return with expression
0:175 Constant:
0:175 2 (const int)
+0:187 Function Definition: badswizzle( (void)
+0:187 Function Parameters:
+0:? Sequence
+0:190 'a' (5-element array of mediump 3-component vector of float)
+0:191 'a' (5-element array of mediump 3-component vector of float)
+0:192 'a' (5-element array of mediump 3-component vector of float)
+0:193 Constant:
+0:193 5 (const int)
+0:194 Constant:
+0:194 0.000000
0:? Linker Objects
0:? 'a' (3-element array of mediump int)
0:? 'uint' (mediump int)