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:
@@ -22,14 +22,16 @@ WARNING: 0:8: varying deprecated in version 130; may be removed in future releas
|
||||
0:14 'a' (uniform int)
|
||||
0:14 direct index (smooth in 4-component vector of float)
|
||||
0:14 'gl_TexCoord' (smooth in 6-element array of 4-component vector of float)
|
||||
0:14 5 (const int)
|
||||
0:14 Constant:
|
||||
0:14 5 (const int)
|
||||
0:16 add second child into first child (4-component vector of float)
|
||||
0:16 'texColor' (4-component vector of float)
|
||||
0:16 'color' (smooth in 4-component vector of float)
|
||||
0:18 move second child to first child (float)
|
||||
0:18 direct index (float)
|
||||
0:18 'texColor' (4-component vector of float)
|
||||
0:18 3 (const int)
|
||||
0:18 Constant:
|
||||
0:18 3 (const int)
|
||||
0:18 'alpha' (smooth in float)
|
||||
0:20 move second child to first child (4-component vector of float)
|
||||
0:20 'gl_FragColor' (fragColor 4-component vector of float)
|
||||
@@ -38,7 +40,8 @@ WARNING: 0:8: varying deprecated in version 130; may be removed in future releas
|
||||
0:20 add (4-component vector of float)
|
||||
0:20 direct index (smooth in 4-component vector of float)
|
||||
0:20 'gl_TexCoord' (smooth in 6-element array of 4-component vector of float)
|
||||
0:20 0 (const int)
|
||||
0:20 Constant:
|
||||
0:20 0 (const int)
|
||||
0:20 indirect index (smooth in 4-component vector of float)
|
||||
0:20 'gl_TexCoord' (smooth in 6-element array of 4-component vector of float)
|
||||
0:20 'b' (uniform int)
|
||||
|
||||
Reference in New Issue
Block a user