2015-12-11 01:01:54 +00:00
|
|
|
spv.depthOut.frag
|
2018-02-01 01:35:56 +00:00
|
|
|
// Module Version 10000
|
2022-10-13 00:16:41 +00:00
|
|
|
// Generated by (magic number): 8000b
|
2015-12-11 01:01:54 +00:00
|
|
|
// Id's are bound by 15
|
|
|
|
|
|
|
|
Capability Shader
|
|
|
|
1: ExtInstImport "GLSL.std.450"
|
|
|
|
MemoryModel Logical GLSL450
|
2015-12-21 00:37:07 +00:00
|
|
|
EntryPoint Fragment 4 "main" 8 10 14
|
2016-02-16 03:58:50 +00:00
|
|
|
ExecutionMode 4 OriginUpperLeft
|
2015-12-11 01:01:54 +00:00
|
|
|
ExecutionMode 4 DepthReplacing
|
2019-08-11 13:41:45 +00:00
|
|
|
ExecutionMode 4 DepthGreater
|
2015-12-11 01:01:54 +00:00
|
|
|
Source GLSL 450
|
|
|
|
Name 4 "main"
|
|
|
|
Name 8 "gl_FragDepth"
|
|
|
|
Name 10 "Depth"
|
|
|
|
Name 14 "Color"
|
|
|
|
Decorate 8(gl_FragDepth) BuiltIn FragDepth
|
2020-07-01 12:30:16 +00:00
|
|
|
Decorate 10(Depth) Location 1
|
|
|
|
Decorate 14(Color) Location 0
|
2015-12-11 01:01:54 +00:00
|
|
|
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 Input 12(fvec4)
|
|
|
|
14(Color): 13(ptr) Variable Input
|
|
|
|
4(main): 2 Function None 3
|
|
|
|
5: Label
|
|
|
|
11: 6(float) Load 10(Depth)
|
|
|
|
Store 8(gl_FragDepth) 11
|
|
|
|
Return
|
|
|
|
FunctionEnd
|