49 lines
2.1 KiB
Plaintext
Executable File
49 lines
2.1 KiB
Plaintext
Executable File
spv.depthOut.frag
|
|
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
// Module Version 99
|
|
// Generated by (magic number): 51a00bb
|
|
// Id's are bound by 18
|
|
|
|
Source GLSL 450
|
|
Capability Shader
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4 "main"
|
|
ExecutionMode 4 OriginLowerLeft
|
|
ExecutionMode 4 DepthAny
|
|
ExecutionMode 4 DepthReplacing
|
|
Name 4 "main"
|
|
Name 8 "gl_FragDepth"
|
|
Name 10 "Depth"
|
|
Name 14 "gl_FragColor"
|
|
Name 16 "Color"
|
|
Decorate 8(gl_FragDepth) BuiltIn FragDepth
|
|
Decorate 10(Depth) Smooth
|
|
Decorate 14(gl_FragColor) BuiltIn FragColor
|
|
Decorate 16(Color) Smooth
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
6: TypeFloat 32
|
|
7: TypePointer Output 6(float)
|
|
8(gl_FragDepth): 7(ptr) Variable Output
|
|
9: TypePointer Input 6(float)
|
|
10(Depth): 9(ptr) Variable Input
|
|
12: TypeVector 6(float) 4
|
|
13: TypePointer Output 12(fvec4)
|
|
14(gl_FragColor): 13(ptr) Variable Output
|
|
15: TypePointer Input 12(fvec4)
|
|
16(Color): 15(ptr) Variable Input
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
11: 6(float) Load 10(Depth)
|
|
Store 8(gl_FragDepth) 11
|
|
17: 12(fvec4) Load 16(Color)
|
|
Store 14(gl_FragColor) 17
|
|
Return
|
|
FunctionEnd
|