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

@@ -12,22 +12,25 @@ ERROR: node is still EOpNull!
0:20 't' (highp 4-component vector of float)
0:20 Function Call: texture(s21;vf2; (highp 4-component vector of float)
0:20 's2D' (uniform lowp sampler2D)
0:20 0.100000
0:20 0.200000
0:20 Constant:
0:20 0.100000
0:20 0.200000
0:21 add second child into first child (highp 4-component vector of float)
0:21 't' (highp 4-component vector of float)
0:21 Function Call: texture(s21;vf2; (highp 4-component vector of float)
0:21 's2Dhigh' (uniform highp sampler2D)
0:21 0.100000
0:21 0.200000
0:21 Constant:
0:21 0.100000
0:21 0.200000
0:22 add second child into first child (highp 4-component vector of float)
0:22 't' (highp 4-component vector of float)
0:22 Function Call: texture(sAS21;vf4; (highp float)
0:22 's2dAS' (uniform mediump sampler2DArrayShadow)
0:22 0.500000
0:22 0.500000
0:22 0.500000
0:22 0.500000
0:22 Constant:
0:22 0.500000
0:22 0.500000
0:22 0.500000
0:22 0.500000
0:24 move second child to first child (highp 4-component vector of float)
0:24 'gl_Position' (gl_Position highp 4-component vector of float)
0:24 'pos' (in highp 4-component vector of float)