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:
parent
b3345c422d
commit
f2ee3dd46a
98 changed files with 3007 additions and 1715 deletions
|
|
@ -2,7 +2,8 @@
|
|||
0:7 Sequence
|
||||
0:7 move second child to first child (float)
|
||||
0:7 'bar' (float)
|
||||
0:7 2.000000
|
||||
0:7 Constant:
|
||||
0:7 2.000000
|
||||
0:9 Function Definition: foo( (void)
|
||||
0:9 Function Parameters:
|
||||
0:11 Sequence
|
||||
|
|
@ -26,7 +27,8 @@
|
|||
0:29 add second child into first child (float)
|
||||
0:29 direct index (float)
|
||||
0:29 'outColor' (4-component vector of float)
|
||||
0:29 0 (const int)
|
||||
0:29 Constant:
|
||||
0:29 0 (const int)
|
||||
0:29 'bar' (float)
|
||||
0:31 move second child to first child (4-component vector of float)
|
||||
0:31 'gl_FragColor' (fragColor 4-component vector of float)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue