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