John Kessenich | 8c8505c | 2016-07-26 12:50:38 -0600 | [diff] [blame] | 1 | spv.swizzleInversion.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 | 8c8505c | 2016-07-26 12:50:38 -0600 | [diff] [blame] | 4 | // Id's are bound by 46 |
| 5 | |
| 6 | Capability Shader |
| 7 | Capability InterpolationFunction |
| 8 | 1: ExtInstImport "GLSL.std.450" |
| 9 | MemoryModel Logical GLSL450 |
| 10 | EntryPoint Fragment 4 "main" 12 37 |
| 11 | ExecutionMode 4 OriginUpperLeft |
| 12 | Source GLSL 450 |
| 13 | Name 4 "main" |
| 14 | Name 9 "v43" |
| 15 | Name 12 "in4" |
| 16 | Name 17 "v42" |
| 17 | Name 23 "v44" |
| 18 | Name 29 "v41" |
| 19 | Name 35 "v33" |
| 20 | Name 37 "in3" |
| 21 | Name 40 "v32" |
| 22 | Name 43 "v31" |
| 23 | 2: TypeVoid |
| 24 | 3: TypeFunction 2 |
| 25 | 6: TypeFloat 32 |
| 26 | 7: TypeVector 6(float) 3 |
| 27 | 8: TypePointer Function 7(fvec3) |
| 28 | 10: TypeVector 6(float) 4 |
| 29 | 11: TypePointer Input 10(fvec4) |
| 30 | 12(in4): 11(ptr) Variable Input |
| 31 | 15: TypeVector 6(float) 2 |
| 32 | 16: TypePointer Function 15(fvec2) |
| 33 | 18: TypeInt 32 1 |
| 34 | 19: 18(int) Constant 1 |
| 35 | 22: TypePointer Function 10(fvec4) |
| 36 | 24: 6(float) Constant 1073741824 |
| 37 | 25: 15(fvec2) ConstantComposite 24 24 |
| 38 | 28: TypePointer Function 6(float) |
| 39 | 30: TypeInt 32 0 |
| 40 | 31: 30(int) Constant 1 |
| 41 | 32: TypePointer Input 6(float) |
| 42 | 36: TypePointer Input 7(fvec3) |
| 43 | 37(in3): 36(ptr) Variable Input |
| 44 | 4(main): 2 Function None 3 |
| 45 | 5: Label |
| 46 | 9(v43): 8(ptr) Variable Function |
| 47 | 17(v42): 16(ptr) Variable Function |
| 48 | 23(v44): 22(ptr) Variable Function |
| 49 | 29(v41): 28(ptr) Variable Function |
| 50 | 35(v33): 8(ptr) Variable Function |
| 51 | 40(v32): 16(ptr) Variable Function |
| 52 | 43(v31): 28(ptr) Variable Function |
| 53 | 13: 10(fvec4) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 12(in4) |
| 54 | 14: 7(fvec3) VectorShuffle 13 13 3 2 0 |
| 55 | Store 9(v43) 14 |
| 56 | 20: 10(fvec4) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 12(in4) 19 |
| 57 | 21: 15(fvec2) VectorShuffle 20 20 2 0 |
| 58 | Store 17(v42) 21 |
| 59 | 26: 10(fvec4) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 12(in4) 25 |
| 60 | 27: 10(fvec4) VectorShuffle 26 26 2 1 0 3 |
| 61 | Store 23(v44) 27 |
| 62 | 33: 32(ptr) AccessChain 12(in4) 31 |
| 63 | 34: 6(float) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 33 25 |
| 64 | Store 29(v41) 34 |
| 65 | 38: 7(fvec3) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 37(in3) |
| 66 | 39: 7(fvec3) VectorShuffle 38 38 1 2 0 |
| 67 | Store 35(v33) 39 |
| 68 | 41: 7(fvec3) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 37(in3) 19 |
| 69 | 42: 15(fvec2) VectorShuffle 41 41 2 0 |
| 70 | Store 40(v32) 42 |
| 71 | 44: 32(ptr) AccessChain 12(in4) 31 |
| 72 | 45: 6(float) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 44 25 |
| 73 | Store 43(v31) 45 |
| 74 | Return |
| 75 | FunctionEnd |