mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-03 16:41:30 +00:00
d3f1122a44
Rationalizes the entire tracking of the linker object nodes, effecting GLSL, HLSL, and SPIR-V, to allow tracked objects to be fully edited before their type snapshot for linker objects. Should only effect things when the rest of the AST contained no reference to the symbol, because normal AST nodes were not stale. Also will only effect such objects when their types were edited.
44 lines
1.5 KiB
Plaintext
44 lines
1.5 KiB
Plaintext
420.frag
|
|
Warning, version 420 is not yet complete; most version-specific features are present, but some are missing.
|
|
ERROR: 0:4: 'redeclaration' : all redeclarations must use the same depth layout on gl_FragDepth
|
|
ERROR: 0:11: 'layout qualifier' : can only apply depth layout to gl_FragDepth
|
|
ERROR: 0:12: 'gl_FragDepth' : cannot redeclare after use
|
|
WARNING: 0:14: 'atomic_uint' : implicitly sized atomic_uint array treated as having one element for tracking the default offset
|
|
ERROR: 3 compilation errors. No code generated.
|
|
|
|
|
|
Shader version: 420
|
|
using depth_any
|
|
ERROR: node is still EOpNull!
|
|
0:6 Function Definition: main( (global void)
|
|
0:6 Function Parameters:
|
|
0:8 Sequence
|
|
0:8 move second child to first child (temp float)
|
|
0:8 'gl_FragDepth' (gl_FragDepth float FragDepth)
|
|
0:8 Constant:
|
|
0:8 0.300000
|
|
0:? Linker Objects
|
|
0:? 'gl_FragDepth' (gl_FragDepth float FragDepth)
|
|
0:? 'depth' (smooth in float)
|
|
0:? 'a' (layout(binding=0 offset=0 ) uniform implicitly-sized array of atomic_uint)
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
Shader version: 420
|
|
using depth_any
|
|
ERROR: node is still EOpNull!
|
|
0:6 Function Definition: main( (global void)
|
|
0:6 Function Parameters:
|
|
0:8 Sequence
|
|
0:8 move second child to first child (temp float)
|
|
0:8 'gl_FragDepth' (gl_FragDepth float FragDepth)
|
|
0:8 Constant:
|
|
0:8 0.300000
|
|
0:? Linker Objects
|
|
0:? 'gl_FragDepth' (gl_FragDepth float FragDepth)
|
|
0:? 'depth' (smooth in float)
|
|
0:? 'a' (layout(binding=0 offset=0 ) uniform 1-element array of atomic_uint)
|
|
|