John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 1 | spv.depthOut.frag |
John Kessenich | 2b5ea9f | 2018-01-31 18:35:56 -0700 | [diff] [blame] | 2 | // Module Version 10000 |
John Kessenich | d6c9755 | 2018-06-04 15:33:31 -0600 | [diff] [blame] | 3 | // Generated by (magic number): 80007 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 4 | // Id's are bound by 15 |
| 5 | |
| 6 | Capability Shader |
| 7 | 1: ExtInstImport "GLSL.std.450" |
| 8 | MemoryModel Logical GLSL450 |
John Kessenich | 7ba6341 | 2015-12-20 17:37:07 -0700 | [diff] [blame] | 9 | EntryPoint Fragment 4 "main" 8 10 14 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 10 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 11 | ExecutionMode 4 DepthGreater |
| 12 | ExecutionMode 4 DepthReplacing |
| 13 | Source GLSL 450 |
| 14 | Name 4 "main" |
| 15 | Name 8 "gl_FragDepth" |
| 16 | Name 10 "Depth" |
| 17 | Name 14 "Color" |
| 18 | Decorate 8(gl_FragDepth) BuiltIn FragDepth |
| 19 | 2: TypeVoid |
| 20 | 3: TypeFunction 2 |
| 21 | 6: TypeFloat 32 |
| 22 | 7: TypePointer Output 6(float) |
| 23 | 8(gl_FragDepth): 7(ptr) Variable Output |
| 24 | 9: TypePointer Input 6(float) |
| 25 | 10(Depth): 9(ptr) Variable Input |
| 26 | 12: TypeVector 6(float) 4 |
| 27 | 13: TypePointer Input 12(fvec4) |
| 28 | 14(Color): 13(ptr) Variable Input |
| 29 | 4(main): 2 Function None 3 |
| 30 | 5: Label |
| 31 | 11: 6(float) Load 10(Depth) |
| 32 | Store 8(gl_FragDepth) 11 |
| 33 | Return |
| 34 | FunctionEnd |