1hlsl.singleArgIntPromo.vert 2Shader version: 500 30:? Sequence 40:2 Function Definition: @main( ( temp float) 50:2 Function Parameters: 60:? Sequence 70:3 Sequence 80:3 move second child to first child ( temp int) 90:3 'd' ( temp int) 100:3 Constant: 110:3 4 (const int) 120:4 Sequence 130:4 move second child to first child ( temp 2-component vector of int) 140:4 'd2' ( temp 2-component vector of int) 150:? Construct ivec2 ( temp 2-component vector of int) 160:4 Constant: 170:4 5 (const int) 180:4 'd' ( temp int) 190:5 Sequence 200:5 move second child to first child ( temp float) 210:5 'f1' ( temp float) 220:5 Constant: 230:5 2.321928 240:6 Sequence 250:6 move second child to first child ( temp 2-component vector of float) 260:6 'f2' ( temp 2-component vector of float) 270:6 log ( temp 2-component vector of float) 280:6 Convert int to float ( temp 2-component vector of float) 290:6 'd2' ( temp 2-component vector of int) 300:7 Sequence 310:7 move second child to first child ( temp 3-component vector of float) 320:7 'f3' ( temp 3-component vector of float) 330:? Constant: 340:? 1.945910 350:? 0.693147 360:? 1.098612 370:8 Sequence 380:8 move second child to first child ( temp 2-component vector of float) 390:8 'f22' ( temp 2-component vector of float) 400:8 Constant: 410:8 0.000000 420:8 0.000000 430:10 Sequence 440:10 move second child to first child ( temp int) 450:10 'a' ( temp int) 460:10 Constant: 470:10 5 (const int) 480:11 Sequence 490:11 move second child to first child ( temp mediump float) 500:11 'b' ( temp mediump float) 510:11 direct index ( temp mediump float) 520:11 unpackHalf2x16 ( temp mediump 2-component vector of float) 530:11 Convert int to uint ( temp mediump uint) 540:11 'a' ( temp mediump int) 550:11 Constant: 560:11 0 (const int) 570:12 multiply second child into first child ( temp mediump float) 580:12 'b' ( temp mediump float) 590:12 'b' ( temp mediump float) 600:13 Sequence 610:13 move second child to first child ( temp uint) 620:13 'c' ( temp uint) 630:13 packHalf2x16 ( temp uint) 640:13 Construct vec2 ( temp 2-component vector of float) 650:13 'b' ( temp mediump float) 660:13 Constant: 670:13 0.000000 680:15 Branch: Return with expression 690:15 add ( temp float) 700:15 add ( temp float) 710:15 add ( temp float) 720:15 add ( temp float) 730:15 'f1' ( temp float) 740:15 direct index ( temp float) 750:15 'f2' ( temp 2-component vector of float) 760:15 Constant: 770:15 0 (const int) 780:15 direct index ( temp float) 790:15 'f3' ( temp 3-component vector of float) 800:15 Constant: 810:15 2 (const int) 820:15 direct index ( temp float) 830:15 'f22' ( temp 2-component vector of float) 840:15 Constant: 850:15 1 (const int) 860:15 Convert uint to float ( temp float) 870:15 'c' ( temp uint) 880:2 Function Definition: main( ( temp void) 890:2 Function Parameters: 900:? Sequence 910:2 move second child to first child ( temp float) 920:? '@entryPointOutput' (layout( location=0) out float) 930:2 Function Call: @main( ( temp float) 940:? Linker Objects 950:? '@entryPointOutput' (layout( location=0) out float) 96 97 98Linked vertex stage: 99 100 101Shader version: 500 1020:? Sequence 1030:2 Function Definition: @main( ( temp float) 1040:2 Function Parameters: 1050:? Sequence 1060:3 Sequence 1070:3 move second child to first child ( temp int) 1080:3 'd' ( temp int) 1090:3 Constant: 1100:3 4 (const int) 1110:4 Sequence 1120:4 move second child to first child ( temp 2-component vector of int) 1130:4 'd2' ( temp 2-component vector of int) 1140:? Construct ivec2 ( temp 2-component vector of int) 1150:4 Constant: 1160:4 5 (const int) 1170:4 'd' ( temp int) 1180:5 Sequence 1190:5 move second child to first child ( temp float) 1200:5 'f1' ( temp float) 1210:5 Constant: 1220:5 2.321928 1230:6 Sequence 1240:6 move second child to first child ( temp 2-component vector of float) 1250:6 'f2' ( temp 2-component vector of float) 1260:6 log ( temp 2-component vector of float) 1270:6 Convert int to float ( temp 2-component vector of float) 1280:6 'd2' ( temp 2-component vector of int) 1290:7 Sequence 1300:7 move second child to first child ( temp 3-component vector of float) 1310:7 'f3' ( temp 3-component vector of float) 1320:? Constant: 1330:? 1.945910 1340:? 0.693147 1350:? 1.098612 1360:8 Sequence 1370:8 move second child to first child ( temp 2-component vector of float) 1380:8 'f22' ( temp 2-component vector of float) 1390:8 Constant: 1400:8 0.000000 1410:8 0.000000 1420:10 Sequence 1430:10 move second child to first child ( temp int) 1440:10 'a' ( temp int) 1450:10 Constant: 1460:10 5 (const int) 1470:11 Sequence 1480:11 move second child to first child ( temp mediump float) 1490:11 'b' ( temp mediump float) 1500:11 direct index ( temp mediump float) 1510:11 unpackHalf2x16 ( temp mediump 2-component vector of float) 1520:11 Convert int to uint ( temp mediump uint) 1530:11 'a' ( temp mediump int) 1540:11 Constant: 1550:11 0 (const int) 1560:12 multiply second child into first child ( temp mediump float) 1570:12 'b' ( temp mediump float) 1580:12 'b' ( temp mediump float) 1590:13 Sequence 1600:13 move second child to first child ( temp uint) 1610:13 'c' ( temp uint) 1620:13 packHalf2x16 ( temp uint) 1630:13 Construct vec2 ( temp 2-component vector of float) 1640:13 'b' ( temp mediump float) 1650:13 Constant: 1660:13 0.000000 1670:15 Branch: Return with expression 1680:15 add ( temp float) 1690:15 add ( temp float) 1700:15 add ( temp float) 1710:15 add ( temp float) 1720:15 'f1' ( temp float) 1730:15 direct index ( temp float) 1740:15 'f2' ( temp 2-component vector of float) 1750:15 Constant: 1760:15 0 (const int) 1770:15 direct index ( temp float) 1780:15 'f3' ( temp 3-component vector of float) 1790:15 Constant: 1800:15 2 (const int) 1810:15 direct index ( temp float) 1820:15 'f22' ( temp 2-component vector of float) 1830:15 Constant: 1840:15 1 (const int) 1850:15 Convert uint to float ( temp float) 1860:15 'c' ( temp uint) 1870:2 Function Definition: main( ( temp void) 1880:2 Function Parameters: 1890:? Sequence 1900:2 move second child to first child ( temp float) 1910:? '@entryPointOutput' (layout( location=0) out float) 1920:2 Function Call: @main( ( temp float) 1930:? Linker Objects 1940:? '@entryPointOutput' (layout( location=0) out float) 195 196// Module Version 10000 197// Generated by (magic number): 80008 198// Id's are bound by 75 199 200 Capability Shader 201 1: ExtInstImport "GLSL.std.450" 202 MemoryModel Logical GLSL450 203 EntryPoint Vertex 4 "main" 73 204 Source HLSL 500 205 Name 4 "main" 206 Name 8 "@main(" 207 Name 12 "d" 208 Name 16 "d2" 209 Name 21 "f1" 210 Name 25 "f2" 211 Name 31 "f3" 212 Name 36 "f22" 213 Name 39 "a" 214 Name 40 "b" 215 Name 51 "c" 216 Name 73 "@entryPointOutput" 217 Decorate 40(b) RelaxedPrecision 218 Decorate 41 RelaxedPrecision 219 Decorate 43 RelaxedPrecision 220 Decorate 44 RelaxedPrecision 221 Decorate 46 RelaxedPrecision 222 Decorate 47 RelaxedPrecision 223 Decorate 48 RelaxedPrecision 224 Decorate 49 RelaxedPrecision 225 Decorate 52 RelaxedPrecision 226 Decorate 73(@entryPointOutput) Location 0 227 2: TypeVoid 228 3: TypeFunction 2 229 6: TypeFloat 32 230 7: TypeFunction 6(float) 231 10: TypeInt 32 1 232 11: TypePointer Function 10(int) 233 13: 10(int) Constant 4 234 14: TypeVector 10(int) 2 235 15: TypePointer Function 14(ivec2) 236 17: 10(int) Constant 5 237 20: TypePointer Function 6(float) 238 22: 6(float) Constant 1075092088 239 23: TypeVector 6(float) 2 240 24: TypePointer Function 23(fvec2) 241 29: TypeVector 6(float) 3 242 30: TypePointer Function 29(fvec3) 243 32: 6(float) Constant 1073288085 244 33: 6(float) Constant 1060205080 245 34: 6(float) Constant 1066180436 246 35: 29(fvec3) ConstantComposite 32 33 34 247 37: 6(float) Constant 0 248 38: 23(fvec2) ConstantComposite 37 37 249 42: TypeInt 32 0 250 45: 42(int) Constant 0 251 50: TypePointer Function 42(int) 252 59: 42(int) Constant 2 253 63: 42(int) Constant 1 254 72: TypePointer Output 6(float) 25573(@entryPointOutput): 72(ptr) Variable Output 256 4(main): 2 Function None 3 257 5: Label 258 74: 6(float) FunctionCall 8(@main() 259 Store 73(@entryPointOutput) 74 260 Return 261 FunctionEnd 262 8(@main(): 6(float) Function None 7 263 9: Label 264 12(d): 11(ptr) Variable Function 265 16(d2): 15(ptr) Variable Function 266 21(f1): 20(ptr) Variable Function 267 25(f2): 24(ptr) Variable Function 268 31(f3): 30(ptr) Variable Function 269 36(f22): 24(ptr) Variable Function 270 39(a): 11(ptr) Variable Function 271 40(b): 20(ptr) Variable Function 272 51(c): 50(ptr) Variable Function 273 Store 12(d) 13 274 18: 10(int) Load 12(d) 275 19: 14(ivec2) CompositeConstruct 17 18 276 Store 16(d2) 19 277 Store 21(f1) 22 278 26: 14(ivec2) Load 16(d2) 279 27: 23(fvec2) ConvertSToF 26 280 28: 23(fvec2) ExtInst 1(GLSL.std.450) 28(Log) 27 281 Store 25(f2) 28 282 Store 31(f3) 35 283 Store 36(f22) 38 284 Store 39(a) 17 285 41: 10(int) Load 39(a) 286 43: 42(int) Bitcast 41 287 44: 23(fvec2) ExtInst 1(GLSL.std.450) 62(UnpackHalf2x16) 43 288 46: 6(float) CompositeExtract 44 0 289 Store 40(b) 46 290 47: 6(float) Load 40(b) 291 48: 6(float) Load 40(b) 292 49: 6(float) FMul 48 47 293 Store 40(b) 49 294 52: 6(float) Load 40(b) 295 53: 23(fvec2) CompositeConstruct 52 37 296 54: 42(int) ExtInst 1(GLSL.std.450) 58(PackHalf2x16) 53 297 Store 51(c) 54 298 55: 6(float) Load 21(f1) 299 56: 20(ptr) AccessChain 25(f2) 45 300 57: 6(float) Load 56 301 58: 6(float) FAdd 55 57 302 60: 20(ptr) AccessChain 31(f3) 59 303 61: 6(float) Load 60 304 62: 6(float) FAdd 58 61 305 64: 20(ptr) AccessChain 36(f22) 63 306 65: 6(float) Load 64 307 66: 6(float) FAdd 62 65 308 67: 42(int) Load 51(c) 309 68: 6(float) ConvertUToF 67 310 69: 6(float) FAdd 66 68 311 ReturnValue 69 312 FunctionEnd 313