Dejan Mircevski | c8fbbab | 2016-01-11 14:48:36 -0500 | [diff] [blame] | 1 | spv.whileLoop.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 | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 4 | // Id's are bound by 35 |
Dejan Mircevski | c8fbbab | 2016-01-11 14:48:36 -0500 | [diff] [blame] | 5 | |
| 6 | Capability Shader |
| 7 | 1: ExtInstImport "GLSL.std.450" |
| 8 | MemoryModel Logical GLSL450 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 9 | EntryPoint Fragment 4 "main" 11 24 28 33 |
| 10 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | f6eae2a | 2016-01-22 17:47:22 -0700 | [diff] [blame] | 11 | Source GLSL 140 |
Dejan Mircevski | c8fbbab | 2016-01-11 14:48:36 -0500 | [diff] [blame] | 12 | Name 4 "main" |
| 13 | Name 9 "color" |
| 14 | Name 11 "BaseColor" |
Dejan Mircevski | 213bbbe | 2016-01-20 11:51:43 -0500 | [diff] [blame] | 15 | Name 24 "d" |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 16 | Name 28 "bigColor" |
| 17 | Name 33 "gl_FragColor" |
John Kessenich | 2c6f48b | 2017-05-20 13:23:25 -0600 | [diff] [blame] | 18 | Decorate 33(gl_FragColor) Location 0 |
Dejan Mircevski | c8fbbab | 2016-01-11 14:48:36 -0500 | [diff] [blame] | 19 | 2: TypeVoid |
| 20 | 3: TypeFunction 2 |
| 21 | 6: TypeFloat 32 |
| 22 | 7: TypeVector 6(float) 4 |
| 23 | 8: TypePointer Function 7(fvec4) |
| 24 | 10: TypePointer Input 7(fvec4) |
| 25 | 11(BaseColor): 10(ptr) Variable Input |
Dejan Mircevski | 213bbbe | 2016-01-20 11:51:43 -0500 | [diff] [blame] | 26 | 18: TypeInt 32 0 |
| 27 | 19: 18(int) Constant 0 |
| 28 | 20: TypePointer Function 6(float) |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 29 | 23: TypePointer Input 6(float) |
| 30 | 24(d): 23(ptr) Variable Input |
Dejan Mircevski | 213bbbe | 2016-01-20 11:51:43 -0500 | [diff] [blame] | 31 | 26: TypeBool |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 32 | 28(bigColor): 10(ptr) Variable Input |
| 33 | 32: TypePointer Output 7(fvec4) |
| 34 | 33(gl_FragColor): 32(ptr) Variable Output |
Dejan Mircevski | c8fbbab | 2016-01-11 14:48:36 -0500 | [diff] [blame] | 35 | 4(main): 2 Function None 3 |
| 36 | 5: Label |
| 37 | 9(color): 8(ptr) Variable Function |
| 38 | 12: 7(fvec4) Load 11(BaseColor) |
| 39 | Store 9(color) 12 |
Dejan Mircevski | 832c65c | 2016-01-11 15:57:11 -0500 | [diff] [blame] | 40 | Branch 13 |
Dejan Mircevski | c8fbbab | 2016-01-11 14:48:36 -0500 | [diff] [blame] | 41 | 13: Label |
Dejan Mircevski | 832c65c | 2016-01-11 15:57:11 -0500 | [diff] [blame] | 42 | LoopMerge 15 16 None |
Dejan Mircevski | 213bbbe | 2016-01-20 11:51:43 -0500 | [diff] [blame] | 43 | Branch 17 |
| 44 | 17: Label |
| 45 | 21: 20(ptr) AccessChain 9(color) 19 |
| 46 | 22: 6(float) Load 21 |
| 47 | 25: 6(float) Load 24(d) |
| 48 | 27: 26(bool) FOrdLessThan 22 25 |
| 49 | BranchConditional 27 14 15 |
Dejan Mircevski | 832c65c | 2016-01-11 15:57:11 -0500 | [diff] [blame] | 50 | 14: Label |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 51 | 29: 7(fvec4) Load 28(bigColor) |
| 52 | 30: 7(fvec4) Load 9(color) |
| 53 | 31: 7(fvec4) FAdd 30 29 |
| 54 | Store 9(color) 31 |
Dejan Mircevski | 832c65c | 2016-01-11 15:57:11 -0500 | [diff] [blame] | 55 | Branch 16 |
Dejan Mircevski | e7f6cac | 2016-01-19 16:47:41 -0500 | [diff] [blame] | 56 | 16: Label |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 57 | Branch 13 |
Dejan Mircevski | 832c65c | 2016-01-11 15:57:11 -0500 | [diff] [blame] | 58 | 15: Label |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 59 | 34: 7(fvec4) Load 9(color) |
| 60 | Store 33(gl_FragColor) 34 |
Dejan Mircevski | 832c65c | 2016-01-11 15:57:11 -0500 | [diff] [blame] | 61 | Return |
Dejan Mircevski | 832c65c | 2016-01-11 15:57:11 -0500 | [diff] [blame] | 62 | FunctionEnd |