John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 1 | spv.length.frag |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 2 | // Module Version 10000 |
John Kessenich | 07ed11f | 2017-10-07 11:33:11 -0600 | [diff] [blame^] | 3 | // Generated by (magic number): 80002 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 4 | // Id's are bound by 33 |
| 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" 14 26 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 10 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | f6eae2a | 2016-01-22 17:47:22 -0700 | [diff] [blame] | 11 | Source GLSL 140 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 12 | Name 4 "main" |
| 13 | Name 9 "t" |
| 14 | Name 14 "v" |
| 15 | Name 26 "gl_FragColor" |
| 16 | Name 32 "u" |
John Kessenich | 2c6f48b | 2017-05-20 13:23:25 -0600 | [diff] [blame] | 17 | Decorate 26(gl_FragColor) Location 0 |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 18 | 2: TypeVoid |
| 19 | 3: TypeFunction 2 |
| 20 | 6: TypeFloat 32 |
| 21 | 7: TypeVector 6(float) 2 |
| 22 | 8: TypePointer Function 7(fvec2) |
| 23 | 10: TypeInt 32 0 |
| 24 | 11: 10(int) Constant 2 |
| 25 | 12: TypeArray 7(fvec2) 11 |
| 26 | 13: TypePointer Input 12 |
| 27 | 14(v): 13(ptr) Variable Input |
| 28 | 15: TypeInt 32 1 |
| 29 | 16: 15(int) Constant 0 |
| 30 | 17: TypePointer Input 7(fvec2) |
| 31 | 20: 15(int) Constant 1 |
| 32 | 24: TypeVector 6(float) 4 |
| 33 | 25: TypePointer Output 24(fvec4) |
| 34 | 26(gl_FragColor): 25(ptr) Variable Output |
| 35 | 27: 6(float) Constant 1106247680 |
| 36 | 28: 24(fvec4) ConstantComposite 27 27 27 27 |
| 37 | 29: 10(int) Constant 3 |
| 38 | 30: TypeArray 24(fvec4) 29 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 39 | 31: TypePointer Private 30 |
| 40 | 32(u): 31(ptr) Variable Private |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 41 | 4(main): 2 Function None 3 |
| 42 | 5: Label |
| 43 | 9(t): 8(ptr) Variable Function |
| 44 | 18: 17(ptr) AccessChain 14(v) 16 |
| 45 | 19: 7(fvec2) Load 18 |
| 46 | 21: 17(ptr) AccessChain 14(v) 20 |
| 47 | 22: 7(fvec2) Load 21 |
| 48 | 23: 7(fvec2) FAdd 19 22 |
| 49 | Store 9(t) 23 |
| 50 | Store 26(gl_FragColor) 28 |
| 51 | Return |
| 52 | FunctionEnd |