1spv.interpOps.frag 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 100 5 6 Capability Shader 7 Capability InterpolationFunction 8 1: ExtInstImport "GLSL.std.450" 9 MemoryModel Logical GLSL450 10 EntryPoint Fragment 4 "main" 13 24 33 41 47 72 98 11 ExecutionMode 4 OriginUpperLeft 12 Source GLSL 450 13 Name 4 "main" 14 Name 9 "f4" 15 Name 13 "if1" 16 Name 24 "if2" 17 Name 33 "if3" 18 Name 41 "if4" 19 Name 47 "samp" 20 Name 72 "offset" 21 Name 98 "fragColor" 22 Decorate 13(if1) Location 0 23 Decorate 24(if2) Location 1 24 Decorate 33(if3) Location 2 25 Decorate 41(if4) Location 3 26 Decorate 47(samp) Flat 27 Decorate 47(samp) Location 4 28 Decorate 72(offset) Flat 29 Decorate 72(offset) Location 5 30 Decorate 98(fragColor) Location 0 31 2: TypeVoid 32 3: TypeFunction 2 33 6: TypeFloat 32 34 7: TypeVector 6(float) 4 35 8: TypePointer Function 7(fvec4) 36 10: 6(float) Constant 0 37 11: 7(fvec4) ConstantComposite 10 10 10 10 38 12: TypePointer Input 6(float) 39 13(if1): 12(ptr) Variable Input 40 15: TypeInt 32 0 41 16: 15(int) Constant 0 42 17: TypePointer Function 6(float) 43 22: TypeVector 6(float) 2 44 23: TypePointer Input 22(fvec2) 45 24(if2): 23(ptr) Variable Input 46 31: TypeVector 6(float) 3 47 32: TypePointer Input 31(fvec3) 48 33(if3): 32(ptr) Variable Input 49 40: TypePointer Input 7(fvec4) 50 41(if4): 40(ptr) Variable Input 51 45: TypeInt 32 1 52 46: TypePointer Input 45(int) 53 47(samp): 46(ptr) Variable Input 54 72(offset): 23(ptr) Variable Input 55 97: TypePointer Output 7(fvec4) 56 98(fragColor): 97(ptr) Variable Output 57 4(main): 2 Function None 3 58 5: Label 59 9(f4): 8(ptr) Variable Function 60 Store 9(f4) 11 61 14: 6(float) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 13(if1) 62 18: 17(ptr) AccessChain 9(f4) 16 63 19: 6(float) Load 18 64 20: 6(float) FAdd 19 14 65 21: 17(ptr) AccessChain 9(f4) 16 66 Store 21 20 67 25: 22(fvec2) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 24(if2) 68 26: 7(fvec4) Load 9(f4) 69 27: 22(fvec2) VectorShuffle 26 26 0 1 70 28: 22(fvec2) FAdd 27 25 71 29: 7(fvec4) Load 9(f4) 72 30: 7(fvec4) VectorShuffle 29 28 4 5 2 3 73 Store 9(f4) 30 74 34: 31(fvec3) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 33(if3) 75 35: 7(fvec4) Load 9(f4) 76 36: 31(fvec3) VectorShuffle 35 35 0 1 2 77 37: 31(fvec3) FAdd 36 34 78 38: 7(fvec4) Load 9(f4) 79 39: 7(fvec4) VectorShuffle 38 37 4 5 6 3 80 Store 9(f4) 39 81 42: 7(fvec4) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 41(if4) 82 43: 7(fvec4) Load 9(f4) 83 44: 7(fvec4) FAdd 43 42 84 Store 9(f4) 44 85 48: 45(int) Load 47(samp) 86 49: 6(float) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 13(if1) 48 87 50: 17(ptr) AccessChain 9(f4) 16 88 51: 6(float) Load 50 89 52: 6(float) FAdd 51 49 90 53: 17(ptr) AccessChain 9(f4) 16 91 Store 53 52 92 54: 45(int) Load 47(samp) 93 55: 22(fvec2) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 24(if2) 54 94 56: 7(fvec4) Load 9(f4) 95 57: 22(fvec2) VectorShuffle 56 56 0 1 96 58: 22(fvec2) FAdd 57 55 97 59: 7(fvec4) Load 9(f4) 98 60: 7(fvec4) VectorShuffle 59 58 4 5 2 3 99 Store 9(f4) 60 100 61: 45(int) Load 47(samp) 101 62: 31(fvec3) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 33(if3) 61 102 63: 7(fvec4) Load 9(f4) 103 64: 31(fvec3) VectorShuffle 63 63 0 1 2 104 65: 31(fvec3) FAdd 64 62 105 66: 7(fvec4) Load 9(f4) 106 67: 7(fvec4) VectorShuffle 66 65 4 5 6 3 107 Store 9(f4) 67 108 68: 45(int) Load 47(samp) 109 69: 7(fvec4) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 41(if4) 68 110 70: 7(fvec4) Load 9(f4) 111 71: 7(fvec4) FAdd 70 69 112 Store 9(f4) 71 113 73: 22(fvec2) Load 72(offset) 114 74: 6(float) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 13(if1) 73 115 75: 17(ptr) AccessChain 9(f4) 16 116 76: 6(float) Load 75 117 77: 6(float) FAdd 76 74 118 78: 17(ptr) AccessChain 9(f4) 16 119 Store 78 77 120 79: 22(fvec2) Load 72(offset) 121 80: 22(fvec2) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 24(if2) 79 122 81: 7(fvec4) Load 9(f4) 123 82: 22(fvec2) VectorShuffle 81 81 0 1 124 83: 22(fvec2) FAdd 82 80 125 84: 7(fvec4) Load 9(f4) 126 85: 7(fvec4) VectorShuffle 84 83 4 5 2 3 127 Store 9(f4) 85 128 86: 22(fvec2) Load 72(offset) 129 87: 31(fvec3) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 33(if3) 86 130 88: 7(fvec4) Load 9(f4) 131 89: 31(fvec3) VectorShuffle 88 88 0 1 2 132 90: 31(fvec3) FAdd 89 87 133 91: 7(fvec4) Load 9(f4) 134 92: 7(fvec4) VectorShuffle 91 90 4 5 6 3 135 Store 9(f4) 92 136 93: 22(fvec2) Load 72(offset) 137 94: 7(fvec4) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 41(if4) 93 138 95: 7(fvec4) Load 9(f4) 139 96: 7(fvec4) FAdd 95 94 140 Store 9(f4) 96 141 99: 7(fvec4) Load 9(f4) 142 Store 98(fragColor) 99 143 Return 144 FunctionEnd 145