Add full support for uniforms with initializers, including intra-stage link validation of aggregate constant initializers.

This included 
 - encapsulating aggregate constants
 - removal of constant-aggregate comparison algorithms, instead using a flattened and direct std::vector comparison
 - adding structure type comparison for independently declared structures that still might match types



git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23274 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2013-09-28 04:02:08 +00:00
parent b3345c422d
commit f2ee3dd46a
98 changed files with 3007 additions and 1715 deletions

View File

@@ -27,20 +27,23 @@
0:31 Compare Less Than (bool)
0:31 direct index (float)
0:31 'color' (4-component vector of float)
0:31 2 (const int)
0:31 Constant:
0:31 2 (const int)
0:31 'minimum' (uniform float)
0:31 true case
0:32 Branch: Return
0:34 Post-Increment (float)
0:34 direct index (float)
0:34 'color' (4-component vector of float)
0:34 2 (const int)
0:34 Constant:
0:34 2 (const int)
0:36 Test condition and select (void)
0:36 Condition
0:36 Compare Greater Than (bool)
0:36 direct index (float)
0:36 'color' (4-component vector of float)
0:36 2 (const int)
0:36 Constant:
0:36 2 (const int)
0:36 'threshhold' (uniform float)
0:36 true case
0:37 Branch: Kill
@@ -51,7 +54,8 @@
0:42 Compare Greater Than (bool)
0:42 direct index (float)
0:42 'color' (4-component vector of float)
0:42 3 (const int)
0:42 Constant:
0:42 3 (const int)
0:42 'threshhold2' (uniform float)
0:42 true case
0:43 Sequence
@@ -60,7 +64,8 @@
0:43 Compare Greater Than (bool)
0:43 direct index (float)
0:43 'color' (4-component vector of float)
0:43 2 (const int)
0:43 Constant:
0:43 2 (const int)
0:43 'threshhold2' (uniform float)
0:43 true case
0:44 Branch: Return
@@ -72,7 +77,8 @@
0:46 Post-Increment (float)
0:46 direct index (float)
0:46 'color' (4-component vector of float)
0:46 2 (const int)
0:46 Constant:
0:46 2 (const int)
0:45 false case
0:48 Sequence
0:48 Test condition and select (void)
@@ -80,7 +86,8 @@
0:48 Compare Less Than (bool)
0:48 direct index (float)
0:48 'color' (4-component vector of float)
0:48 0 (const int)
0:48 Constant:
0:48 0 (const int)
0:48 'minimum' (uniform float)
0:48 true case
0:49 Sequence