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:
@@ -8,7 +8,8 @@ WARNING: #version: statement missing; use #version on first line of shader
|
||||
0:9 Compare Less Than (bool)
|
||||
0:9 length (mediump float)
|
||||
0:9 'gl_PointCoord' (gl_PointCoord mediump 2-component vector of float)
|
||||
0:9 0.300000
|
||||
0:9 Constant:
|
||||
0:9 0.300000
|
||||
0:9 true case
|
||||
0:10 move second child to first child (highp 4-component vector of float)
|
||||
0:10 'color' (highp 4-component vector of float)
|
||||
@@ -18,10 +19,11 @@ WARNING: #version: statement missing; use #version on first line of shader
|
||||
0:9 false case
|
||||
0:12 move second child to first child (highp 4-component vector of float)
|
||||
0:12 'color' (highp 4-component vector of float)
|
||||
0:12 0.000000
|
||||
0:12 0.000000
|
||||
0:12 0.000000
|
||||
0:12 0.000000
|
||||
0:12 Constant:
|
||||
0:12 0.000000
|
||||
0:12 0.000000
|
||||
0:12 0.000000
|
||||
0:12 0.000000
|
||||
0:14 move second child to first child (highp 4-component vector of float)
|
||||
0:14 'gl_FragColor' (fragColor mediump 4-component vector of float)
|
||||
0:14 'color' (highp 4-component vector of float)
|
||||
|
||||
Reference in New Issue
Block a user