
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31531 e7fa87d3-cd2b-0410-9028-fcbf551c1848
48 lines
2.1 KiB
Plaintext
48 lines
2.1 KiB
Plaintext
spv.depthOut.frag
|
|
WARNING: 0:3: varying deprecated in version 130; may be removed in future release
|
|
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
// Module Version 99
|
|
// Generated by (magic number): 51a00bb
|
|
// Id's are bound by 19
|
|
|
|
Source GLSL 130
|
|
1: ExtInstImport "GLSL.std.450"
|
|
MemoryModel Logical GLSL450
|
|
EntryPoint Fragment 4
|
|
Name 4 "main"
|
|
Name 9 "gl_FragDepth"
|
|
Name 11 "Depth"
|
|
Name 15 "gl_FragColor"
|
|
Name 17 "Color"
|
|
Decorate 9(gl_FragDepth) BuiltIn FragDepth
|
|
Decorate 11(Depth) Smooth
|
|
Decorate 15(gl_FragColor) BuiltIn FragColor
|
|
Decorate 17(Color) Smooth
|
|
2: TypeVoid
|
|
3: TypeFunction 2
|
|
7: TypeFloat 32
|
|
8: TypePointer Output 7(float)
|
|
9(gl_FragDepth): 8(ptr) Variable Output
|
|
10: TypePointer Input 7(float)
|
|
11(Depth): 10(ptr) Variable Input
|
|
13: TypeVector 7(float) 4
|
|
14: TypePointer Output 13(fvec4)
|
|
15(gl_FragColor): 14(ptr) Variable Output
|
|
16: TypePointer Input 13(fvec4)
|
|
17(Color): 16(ptr) Variable Input
|
|
4(main): 2 Function None 3
|
|
5: Label
|
|
12: 7(float) Load 11(Depth)
|
|
Store 9(gl_FragDepth) 12
|
|
18: 13(fvec4) Load 17(Color)
|
|
Store 15(gl_FragColor) 18
|
|
Branch 6
|
|
6: Label
|
|
Return
|
|
FunctionEnd
|