- the built-in constants - built-in variable declarations, some dependent on gl_MaxPatchVertices - layout qualifier for vertices (shared with geometry shader max_vertices) - layout qualifiers for vertex spacing, vertex order, point mode, and primitive type - link semantics for layout qualifiers Still TBD: - patch qualifier and arrayed input handling - sizing of gl_out[] - additional semantic checking - supporting the extension on version 150 git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24468 e7fa87d3-cd2b-0410-9028-fcbf551c1848
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
150.frag
|
|
Warning, version 150 is not yet complete; some version-specific features are present, but many are missing.
|
|
ERROR: 0:4: 'redeclaration' : cannot redeclare with different qualification: gl_FragCoord
|
|
ERROR: 0:5: 'redeclaration' : cannot redeclare with different qualification: gl_FragCoord
|
|
ERROR: 0:6: 'layout qualifier' : can only apply origin_upper_left and pixel_center_origin to gl_FragCoord
|
|
ERROR: 0:14: 'gl_FragCoord' : cannot redeclare after use
|
|
ERROR: 4 compilation errors. No code generated.
|
|
|
|
|
|
gl_FragCoord pixel center is integer
|
|
gl_FragCoord origin is upper left
|
|
ERROR: node is still EOpNull!
|
|
0:9 Function Definition: main( (void)
|
|
0:9 Function Parameters:
|
|
0:11 Sequence
|
|
0:11 Sequence
|
|
0:11 move second child to first child (4-component vector of float)
|
|
0:11 'c' (4-component vector of float)
|
|
0:11 'gl_FragCoord' (gl_FragCoord 4-component vector of float)
|
|
0:? Linker Objects
|
|
0:? 'gl_FragCoord' (gl_FragCoord 4-component vector of float)
|
|
0:? 'gl_FragCoord' (gl_FragCoord 4-component vector of float)
|
|
0:? 'foo' (smooth in 4-component vector of float)
|
|
0:? 's' (smooth in structure{f})
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
gl_FragCoord pixel center is integer
|
|
gl_FragCoord origin is upper left
|
|
|