mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 22:01:04 +00:00
5134b9cf57
Also made all tests in testlist include linker tests. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24156 e7fa87d3-cd2b-0410-9028-fcbf551c1848
48 lines
1.9 KiB
Plaintext
48 lines
1.9 KiB
Plaintext
330.frag
|
|
Warning, version 330 is not yet complete; some version-specific features are present, but many are missing.
|
|
|
|
0:? Sequence
|
|
0:8 Function Definition: main( (void)
|
|
0:8 Function Parameters:
|
|
0:10 Sequence
|
|
0:10 move second child to first child (4-component vector of float)
|
|
0:10 'gl_FragColor' (fragColor 4-component vector of float)
|
|
0:10 'varyingVar' (smooth in 4-component vector of float)
|
|
0:11 move second child to first child (4-component vector of float)
|
|
0:11 direct index (4-component vector of float)
|
|
0:11 'gl_FragData' (fragColor 32-element array of 4-component vector of float)
|
|
0:11 Constant:
|
|
0:11 1 (const int)
|
|
0:11 'inVar' (smooth in 4-component vector of float)
|
|
0:12 Sequence
|
|
0:12 move second child to first child (int)
|
|
0:12 'buffer' (int)
|
|
0:12 Constant:
|
|
0:12 4 (const int)
|
|
0:21 Function Definition: foo( (void)
|
|
0:21 Function Parameters:
|
|
0:23 Sequence
|
|
0:23 Sequence
|
|
0:23 move second child to first child (4-component vector of float)
|
|
0:23 'c' (4-component vector of float)
|
|
0:23 gl_Color: direct index for structure (in 4-component vector of float)
|
|
0:23 '__anon__0' (in block{gl_Color})
|
|
0:23 Constant:
|
|
0:23 0 (const uint)
|
|
0:24 move second child to first child (4-component vector of float)
|
|
0:24 'outVar' (out 4-component vector of float)
|
|
0:24 'inVar' (smooth in 4-component vector of float)
|
|
0:? Linker Objects
|
|
0:? 'inVar' (smooth in 4-component vector of float)
|
|
0:? 'outVar' (out 4-component vector of float)
|
|
0:? 'varyingVar' (smooth in 4-component vector of float)
|
|
0:? '__anon__0' (in block{gl_Color})
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
ERROR: Linking fragment stage: Cannot use gl_FragColor or gl_FragData when using user-defined outputs
|
|
ERROR: Linking fragment stage: Cannot use both gl_FragColor and gl_FragData
|
|
|
|
|