glslang/Test/baseResults/300layout.frag.out
John Kessenich f2ee3dd46a 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
2013-09-28 04:02:08 +00:00

27 lines
1.5 KiB
Plaintext

ERROR: 0:4: 'color' : can only use location layout qualifier on a vertex input or fragment output
ERROR: 1 compilation errors. No code generated.
ERROR: node is still EOpNull!
0:10 Function Definition: main( (void)
0:10 Function Parameters:
0:12 Sequence
0:12 move second child to first child (mediump 4-component vector of float)
0:12 'c' (layout(location=1 ) out mediump 4-component vector of float)
0:12 'color' (layout(location=2 ) smooth in mediump 4-component vector of float)
0:13 move second child to first child (mediump 4-component vector of float)
0:13 'p' (layout(location=3 ) out mediump 4-component vector of float)
0:13 'pos' (smooth in mediump 4-component vector of float)
0:14 move second child to first child (mediump 4-component vector of float)
0:14 direct index (layout(location=4 ) out mediump 4-component vector of float)
0:14 'q' (layout(location=4 ) out 2-element array of mediump 4-component vector of float)
0:14 Constant:
0:14 1 (const int)
0:14 'pos' (smooth in mediump 4-component vector of float)
0:? Linker Objects
0:? 'pos' (smooth in mediump 4-component vector of float)
0:? 'color' (layout(location=2 ) smooth in mediump 4-component vector of float)
0:? 'c' (layout(location=1 ) out mediump 4-component vector of float)
0:? 'p' (layout(location=3 ) out mediump 4-component vector of float)
0:? 'q' (layout(location=4 ) out 2-element array of mediump 4-component vector of float)