1remap.similar_1b.none.frag 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 91 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Fragment 4 "main" 58 78 80 10 ExecutionMode 4 OriginUpperLeft 11 Source GLSL 450 12 Name 4 "main" 13 Name 11 "Test1(i1;" 14 Name 10 "bound" 15 Name 14 "Test2(i1;" 16 Name 13 "bound" 17 Name 17 "r" 18 Name 19 "x" 19 Name 49 "param" 20 Name 58 "ini4" 21 Name 78 "outf4" 22 Name 80 "inf" 23 Name 83 "param" 24 Name 87 "param" 25 Decorate 58(ini4) Flat 26 Decorate 58(ini4) Location 0 27 Decorate 78(outf4) Location 0 28 Decorate 80(inf) Location 1 29 2: TypeVoid 30 3: TypeFunction 2 31 6: TypeInt 32 1 32 7: TypePointer Function 6(int) 33 8: TypeFloat 32 34 9: TypeFunction 8(float) 7(ptr) 35 16: TypePointer Function 8(float) 36 18: 8(float) Constant 0 37 20: 6(int) Constant 0 38 28: TypeBool 39 30: 8(float) Constant 1056964608 40 34: 6(int) Constant 1 41 36: 8(float) Constant 1045220557 42 43: 6(int) Constant 2 43 54: 6(int) Constant 4 44 56: TypeVector 6(int) 4 45 57: TypePointer Input 56(ivec4) 46 58(ini4): 57(ptr) Variable Input 47 59: TypeInt 32 0 48 60: 59(int) Constant 1 49 61: TypePointer Input 6(int) 50 64: 59(int) Constant 2 51 69: 59(int) Constant 0 52 76: TypeVector 8(float) 4 53 77: TypePointer Output 76(fvec4) 54 78(outf4): 77(ptr) Variable Output 55 79: TypePointer Input 8(float) 56 80(inf): 79(ptr) Variable Input 57 4(main): 2 Function None 3 58 5: Label 59 83(param): 7(ptr) Variable Function 60 87(param): 7(ptr) Variable Function 61 81: 8(float) Load 80(inf) 62 82: 6(int) ConvertFToS 81 63 Store 83(param) 82 64 84: 8(float) FunctionCall 11(Test1(i1;) 83(param) 65 85: 8(float) Load 80(inf) 66 86: 6(int) ConvertFToS 85 67 Store 87(param) 86 68 88: 8(float) FunctionCall 14(Test2(i1;) 87(param) 69 89: 8(float) FAdd 84 88 70 90: 76(fvec4) CompositeConstruct 89 89 89 89 71 Store 78(outf4) 90 72 Return 73 FunctionEnd 74 11(Test1(i1;): 8(float) Function None 9 75 10(bound): 7(ptr) FunctionParameter 76 12: Label 77 17(r): 16(ptr) Variable Function 78 19(x): 7(ptr) Variable Function 79 Store 17(r) 18 80 Store 19(x) 20 81 Branch 21 82 21: Label 83 LoopMerge 23 24 None 84 Branch 25 85 25: Label 86 26: 6(int) Load 19(x) 87 27: 6(int) Load 10(bound) 88 29: 28(bool) SLessThan 26 27 89 BranchConditional 29 22 23 90 22: Label 91 31: 8(float) Load 17(r) 92 32: 8(float) FAdd 31 30 93 Store 17(r) 32 94 Branch 24 95 24: Label 96 33: 6(int) Load 19(x) 97 35: 6(int) IAdd 33 34 98 Store 19(x) 35 99 Branch 21 100 23: Label 101 37: 8(float) Load 17(r) 102 38: 8(float) FAdd 37 36 103 Store 17(r) 38 104 39: 8(float) Load 17(r) 105 ReturnValue 39 106 FunctionEnd 107 14(Test2(i1;): 8(float) Function None 9 108 13(bound): 7(ptr) FunctionParameter 109 15: Label 110 49(param): 7(ptr) Variable Function 111 42: 6(int) Load 13(bound) 112 44: 28(bool) SGreaterThan 42 43 113 SelectionMerge 46 None 114 BranchConditional 44 45 52 115 45: Label 116 47: 6(int) Load 13(bound) 117 48: 6(int) IMul 47 43 118 Store 49(param) 48 119 50: 8(float) FunctionCall 11(Test1(i1;) 49(param) 120 ReturnValue 50 121 52: Label 122 53: 6(int) Load 13(bound) 123 55: 6(int) IMul 53 54 124 62: 61(ptr) AccessChain 58(ini4) 60 125 63: 6(int) Load 62 126 65: 61(ptr) AccessChain 58(ini4) 64 127 66: 6(int) Load 65 128 67: 6(int) IMul 63 66 129 68: 6(int) IAdd 55 67 130 70: 61(ptr) AccessChain 58(ini4) 69 131 71: 6(int) Load 70 132 72: 6(int) IAdd 68 71 133 73: 8(float) ConvertSToF 72 134 ReturnValue 73 135 46: Label 136 Unreachable 137 FunctionEnd 138