John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 1 | spv.shiftOps.frag |
| 2 | Warning, version 450 is not yet complete; most version-specific features are present, but some are missing. |
| 3 | |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 4 | // Module Version 10000 |
| 5 | // Generated by (magic number): 80001 |
| 6 | // Id's are bound by 38 |
| 7 | |
| 8 | Capability Shader |
| 9 | 1: ExtInstImport "GLSL.std.450" |
| 10 | MemoryModel Logical GLSL450 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 11 | EntryPoint Fragment 4 "main" 9 11 15 25 27 30 |
| 12 | ExecutionMode 4 OriginUpperLeft |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 13 | Source GLSL 450 |
| 14 | Name 4 "main" |
| 15 | Name 9 "icolor" |
| 16 | Name 11 "i3" |
| 17 | Name 15 "u1" |
| 18 | Name 25 "ucolor" |
| 19 | Name 27 "u3" |
| 20 | Name 30 "i1" |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 21 | Decorate 11(i3) Flat |
| 22 | Decorate 15(u1) Flat |
| 23 | Decorate 27(u3) Flat |
| 24 | Decorate 30(i1) Flat |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 25 | 2: TypeVoid |
| 26 | 3: TypeFunction 2 |
| 27 | 6: TypeInt 32 1 |
| 28 | 7: TypeVector 6(int) 3 |
| 29 | 8: TypePointer Output 7(ivec3) |
| 30 | 9(icolor): 8(ptr) Variable Output |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 31 | 10: TypePointer Input 7(ivec3) |
| 32 | 11(i3): 10(ptr) Variable Input |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 33 | 13: TypeInt 32 0 |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 34 | 14: TypePointer Input 13(int) |
| 35 | 15(u1): 14(ptr) Variable Input |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 36 | 17: TypeVector 13(int) 3 |
| 37 | 20: 13(int) Constant 4 |
| 38 | 24: TypePointer Output 17(ivec3) |
| 39 | 25(ucolor): 24(ptr) Variable Output |
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 40 | 26: TypePointer Input 17(ivec3) |
| 41 | 27(u3): 26(ptr) Variable Input |
| 42 | 29: TypePointer Input 6(int) |
| 43 | 30(i1): 29(ptr) Variable Input |
John Kessenich | cc16fa0 | 2015-12-10 18:01:54 -0700 | [diff] [blame] | 44 | 34: 6(int) Constant 5 |
| 45 | 4(main): 2 Function None 3 |
| 46 | 5: Label |
| 47 | 12: 7(ivec3) Load 11(i3) |
| 48 | 16: 13(int) Load 15(u1) |
| 49 | 18: 17(ivec3) CompositeConstruct 16 16 16 |
| 50 | 19: 7(ivec3) ShiftLeftLogical 12 18 |
| 51 | Store 9(icolor) 19 |
| 52 | 21: 7(ivec3) Load 9(icolor) |
| 53 | 22: 17(ivec3) CompositeConstruct 20 20 20 |
| 54 | 23: 7(ivec3) ShiftLeftLogical 21 22 |
| 55 | Store 9(icolor) 23 |
| 56 | 28: 17(ivec3) Load 27(u3) |
| 57 | 31: 6(int) Load 30(i1) |
| 58 | 32: 7(ivec3) CompositeConstruct 31 31 31 |
| 59 | 33: 17(ivec3) ShiftRightLogical 28 32 |
| 60 | Store 25(ucolor) 33 |
| 61 | 35: 17(ivec3) Load 25(ucolor) |
| 62 | 36: 7(ivec3) CompositeConstruct 34 34 34 |
| 63 | 37: 17(ivec3) ShiftRightLogical 35 36 |
| 64 | Store 25(ucolor) 37 |
| 65 | Return |
| 66 | FunctionEnd |