yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
b937eae5
main
1spv.longVectorBuiltinsfp64.comp 2// Module Version 10300 3// Generated by (magic number): 8000b 4// Id's are bound by 186 5 6 Capability Shader 7 Capability Float64 8 Capability Int64 9 Capability LongVectorEXT 10 Extension "SPV_EXT_long_vector" 11 1: ExtInstImport "GLSL.std.450" 12 MemoryModel Logical GLSL450 13 EntryPoint GLCompute 4 "main" 14 ExecutionMode 4 LocalSize 64 1 1 15 Source GLSL 450 16 SourceExtension "GL_EXT_buffer_reference" 17 SourceExtension "GL_EXT_expect_assume" 18 SourceExtension "GL_EXT_long_vector" 19 SourceExtension "GL_EXT_shader_explicit_arithmetic_types" 20 SourceExtension "GL_KHR_memory_scope_semantics" 21 Name 4 "main" 22 Name 9 "vf" 23 Name 32 "f" 24 Name 39 "tempReturn" 25 Name 41 "tempArg" 26 Name 42 "ResType" 27 Name 86 "vb" 28 Name 113 "vi" 29 Name 119 "vu" 30 Name 134 "vi32" 31 Name 135 "ResType" 32 Decorate 185 BuiltIn WorkgroupSize 33 2: TypeVoid 34 3: TypeFunction 2 35 6: TypeFloat 64 36 7: TypeVector 6(float64_t) 5 37 8: TypePointer Function 7(f64vec) 38 31: TypePointer Function 6(float64_t) 39 42(ResType): TypeStruct 7(f64vec) 7(f64vec) 40 83: TypeBool 41 84: TypeVector 83(bool) 5 42 85: TypePointer Function 84(bvec) 43 110: TypeInt 64 1 44 111: TypeVector 110(int64_t) 5 45 112: TypePointer Function 111(i64vec) 46 116: TypeInt 64 0 47 117: TypeVector 116(int64_t) 5 48 118: TypePointer Function 117(i64vec) 49 131: TypeInt 32 1 50 132: TypeVector 131(int) 5 51 133: TypePointer Function 132(ivec) 52 135(ResType): TypeStruct 7(f64vec) 132(ivec) 53 181: TypeInt 32 0 54 182: TypeVector 181(int) 3 55 183: 181(int) Constant 64 56 184: 181(int) Constant 1 57 185: 182(ivec3) ConstantComposite 183 184 184 58 4(main): 2 Function None 3 59 5: Label 60 9(vf): 8(ptr) Variable Function 61 32(f): 31(ptr) Variable Function 62 39(tempReturn): 8(ptr) Variable Function 63 41(tempArg): 8(ptr) Variable Function 64 86(vb): 85(ptr) Variable Function 65 113(vi): 112(ptr) Variable Function 66 119(vu): 118(ptr) Variable Function 67 134(vi32): 133(ptr) Variable Function 68 10: 7(f64vec) Load 9(vf) 69 11: 7(f64vec) ExtInst 1(GLSL.std.450) 31(Sqrt) 10 70 Store 9(vf) 11 71 12: 7(f64vec) Load 9(vf) 72 13: 7(f64vec) ExtInst 1(GLSL.std.450) 32(InverseSqrt) 12 73 Store 9(vf) 13 74 14: 7(f64vec) Load 9(vf) 75 15: 7(f64vec) ExtInst 1(GLSL.std.450) 4(FAbs) 14 76 Store 9(vf) 15 77 16: 7(f64vec) Load 9(vf) 78 17: 7(f64vec) ExtInst 1(GLSL.std.450) 6(FSign) 16 79 Store 9(vf) 17 80 18: 7(f64vec) Load 9(vf) 81 19: 7(f64vec) ExtInst 1(GLSL.std.450) 8(Floor) 18 82 Store 9(vf) 19 83 20: 7(f64vec) Load 9(vf) 84 21: 7(f64vec) ExtInst 1(GLSL.std.450) 3(Trunc) 20 85 Store 9(vf) 21 86 22: 7(f64vec) Load 9(vf) 87 23: 7(f64vec) ExtInst 1(GLSL.std.450) 1(Round) 22 88 Store 9(vf) 23 89 24: 7(f64vec) Load 9(vf) 90 25: 7(f64vec) ExtInst 1(GLSL.std.450) 2(RoundEven) 24 91 Store 9(vf) 25 92 26: 7(f64vec) Load 9(vf) 93 27: 7(f64vec) ExtInst 1(GLSL.std.450) 9(Ceil) 26 94 Store 9(vf) 27 95 28: 7(f64vec) Load 9(vf) 96 29: 7(f64vec) ExtInst 1(GLSL.std.450) 10(Fract) 28 97 Store 9(vf) 29 98 30: 7(f64vec) Load 9(vf) 99 33:6(float64_t) Load 32(f) 100 34: 7(f64vec) CompositeConstruct 33 33 33 33 33 101 35: 7(f64vec) FMod 30 34 102 Store 9(vf) 35 103 36: 7(f64vec) Load 9(vf) 104 37: 7(f64vec) Load 9(vf) 105 38: 7(f64vec) FMod 36 37 106 Store 9(vf) 38 107 40: 7(f64vec) Load 9(vf) 108 43: 42(ResType) ExtInst 1(GLSL.std.450) 36(ModfStruct) 40 109 44: 7(f64vec) CompositeExtract 43 1 110 Store 41(tempArg) 44 111 45: 7(f64vec) CompositeExtract 43 0 112 Store 39(tempReturn) 45 113 46: 7(f64vec) Load 41(tempArg) 114 Store 9(vf) 46 115 47: 7(f64vec) Load 39(tempReturn) 116 Store 9(vf) 47 117 48: 7(f64vec) Load 9(vf) 118 49:6(float64_t) Load 32(f) 119 50: 7(f64vec) CompositeConstruct 49 49 49 49 49 120 51: 7(f64vec) ExtInst 1(GLSL.std.450) 37(FMin) 48 50 121 Store 9(vf) 51 122 52: 7(f64vec) Load 9(vf) 123 53: 7(f64vec) Load 9(vf) 124 54: 7(f64vec) ExtInst 1(GLSL.std.450) 37(FMin) 52 53 125 Store 9(vf) 54 126 55: 7(f64vec) Load 9(vf) 127 56:6(float64_t) Load 32(f) 128 57: 7(f64vec) CompositeConstruct 56 56 56 56 56 129 58: 7(f64vec) ExtInst 1(GLSL.std.450) 40(FMax) 55 57 130 Store 9(vf) 58 131 59: 7(f64vec) Load 9(vf) 132 60: 7(f64vec) Load 9(vf) 133 61: 7(f64vec) ExtInst 1(GLSL.std.450) 40(FMax) 59 60 134 Store 9(vf) 61 135 62: 7(f64vec) Load 9(vf) 136 63:6(float64_t) Load 32(f) 137 64:6(float64_t) Load 32(f) 138 65: 7(f64vec) CompositeConstruct 63 63 63 63 63 139 66: 7(f64vec) CompositeConstruct 64 64 64 64 64 140 67: 7(f64vec) ExtInst 1(GLSL.std.450) 43(FClamp) 62 65 66 141 Store 9(vf) 67 142 68: 7(f64vec) Load 9(vf) 143 69: 7(f64vec) Load 9(vf) 144 70: 7(f64vec) Load 9(vf) 145 71: 7(f64vec) ExtInst 1(GLSL.std.450) 43(FClamp) 68 69 70 146 Store 9(vf) 71 147 72: 7(f64vec) Load 9(vf) 148 73: 7(f64vec) Load 9(vf) 149 74:6(float64_t) Load 32(f) 150 75: 7(f64vec) CompositeConstruct 74 74 74 74 74 151 76: 7(f64vec) ExtInst 1(GLSL.std.450) 46(FMix) 72 73 75 152 Store 9(vf) 76 153 77: 7(f64vec) Load 9(vf) 154 78: 7(f64vec) Load 9(vf) 155 79: 7(f64vec) Load 9(vf) 156 80: 7(f64vec) ExtInst 1(GLSL.std.450) 46(FMix) 77 78 79 157 Store 9(vf) 80 158 81: 7(f64vec) Load 9(vf) 159 82: 7(f64vec) Load 9(vf) 160 87: 84(bvec) Load 86(vb) 161 88: 7(f64vec) Select 87 82 81 162 Store 9(vf) 88 163 89: 7(f64vec) Load 9(vf) 164 90: 7(f64vec) Load 9(vf) 165 91: 7(f64vec) ExtInst 1(GLSL.std.450) 48(Step) 89 90 166 Store 9(vf) 91 167 92:6(float64_t) Load 32(f) 168 93: 7(f64vec) Load 9(vf) 169 94: 7(f64vec) CompositeConstruct 92 92 92 92 92 170 95: 7(f64vec) ExtInst 1(GLSL.std.450) 48(Step) 94 93 171 Store 9(vf) 95 172 96: 7(f64vec) Load 9(vf) 173 97: 7(f64vec) Load 9(vf) 174 98: 7(f64vec) Load 9(vf) 175 99: 7(f64vec) ExtInst 1(GLSL.std.450) 49(SmoothStep) 96 97 98 176 Store 9(vf) 99 177 100:6(float64_t) Load 32(f) 178 101:6(float64_t) Load 32(f) 179 102: 7(f64vec) Load 9(vf) 180 103: 7(f64vec) CompositeConstruct 100 100 100 100 100 181 104: 7(f64vec) CompositeConstruct 101 101 101 101 101 182 105: 7(f64vec) ExtInst 1(GLSL.std.450) 49(SmoothStep) 103 104 102 183 Store 9(vf) 105 184 106: 7(f64vec) Load 9(vf) 185 107: 84(bvec) IsNan 106 186 Store 86(vb) 107 187 108: 7(f64vec) Load 9(vf) 188 109: 84(bvec) IsInf 108 189 Store 86(vb) 109 190 114: 7(f64vec) Load 9(vf) 191 115: 111(i64vec) Bitcast 114 192 Store 113(vi) 115 193 120: 7(f64vec) Load 9(vf) 194 121: 117(i64vec) Bitcast 120 195 Store 119(vu) 121 196 122: 111(i64vec) Load 113(vi) 197 123: 7(f64vec) Bitcast 122 198 Store 9(vf) 123 199 124: 117(i64vec) Load 119(vu) 200 125: 7(f64vec) Bitcast 124 201 Store 9(vf) 125 202 126: 7(f64vec) Load 9(vf) 203 127: 7(f64vec) Load 9(vf) 204 128: 7(f64vec) Load 9(vf) 205 129: 7(f64vec) ExtInst 1(GLSL.std.450) 50(Fma) 126 127 128 206 Store 9(vf) 129 207 130: 7(f64vec) Load 9(vf) 208 136:135(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 130 209 137: 132(ivec) CompositeExtract 136 1 210 Store 134(vi32) 137 211 138: 7(f64vec) CompositeExtract 136 0 212 Store 9(vf) 138 213 139: 7(f64vec) Load 9(vf) 214 140: 132(ivec) Load 134(vi32) 215 141: 7(f64vec) ExtInst 1(GLSL.std.450) 53(Ldexp) 139 140 216 Store 9(vf) 141 217 142: 7(f64vec) Load 9(vf) 218 143:6(float64_t) ExtInst 1(GLSL.std.450) 66(Length) 142 219 Store 32(f) 143 220 144: 7(f64vec) Load 9(vf) 221 145: 7(f64vec) Load 9(vf) 222 146:6(float64_t) ExtInst 1(GLSL.std.450) 67(Distance) 144 145 223 Store 32(f) 146 224 147: 7(f64vec) Load 9(vf) 225 148: 7(f64vec) Load 9(vf) 226 149:6(float64_t) Dot 147 148 227 Store 32(f) 149 228 150: 7(f64vec) Load 9(vf) 229 151: 7(f64vec) ExtInst 1(GLSL.std.450) 69(Normalize) 150 230 Store 9(vf) 151 231 152: 7(f64vec) Load 9(vf) 232 153: 7(f64vec) Load 9(vf) 233 154: 7(f64vec) Load 9(vf) 234 155: 7(f64vec) ExtInst 1(GLSL.std.450) 70(FaceForward) 152 153 154 235 Store 9(vf) 155 236 156: 7(f64vec) Load 9(vf) 237 157: 7(f64vec) Load 9(vf) 238 158: 7(f64vec) ExtInst 1(GLSL.std.450) 71(Reflect) 156 157 239 Store 9(vf) 158 240 159: 7(f64vec) Load 9(vf) 241 160: 7(f64vec) Load 9(vf) 242 161:6(float64_t) Load 32(f) 243 162: 7(f64vec) ExtInst 1(GLSL.std.450) 72(Refract) 159 160 161 244 Store 9(vf) 162 245 163: 7(f64vec) Load 9(vf) 246 164: 7(f64vec) Load 9(vf) 247 165: 84(bvec) FOrdLessThan 163 164 248 Store 86(vb) 165 249 166: 7(f64vec) Load 9(vf) 250 167: 7(f64vec) Load 9(vf) 251 168: 84(bvec) FOrdLessThanEqual 166 167 252 Store 86(vb) 168 253 169: 7(f64vec) Load 9(vf) 254 170: 7(f64vec) Load 9(vf) 255 171: 84(bvec) FOrdGreaterThan 169 170 256 Store 86(vb) 171 257 172: 7(f64vec) Load 9(vf) 258 173: 7(f64vec) Load 9(vf) 259 174: 84(bvec) FOrdGreaterThanEqual 172 173 260 Store 86(vb) 174 261 175: 7(f64vec) Load 9(vf) 262 176: 7(f64vec) Load 9(vf) 263 177: 84(bvec) FOrdEqual 175 176 264 Store 86(vb) 177 265 178: 7(f64vec) Load 9(vf) 266 179: 7(f64vec) Load 9(vf) 267 180: 84(bvec) FUnordNotEqual 178 179 268 Store 86(vb) 180 269 Return 270 FunctionEnd