1hlsl.shapeConvRet.frag 2Shader version: 500 3gl_FragCoord origin is upper left 40:? Sequence 50:2 Function Definition: foo( ( temp 3-component vector of int) 60:2 Function Parameters: 70:? Sequence 80:3 Branch: Return with expression 90:3 Constant: 100:3 13 (const int) 110:3 13 (const int) 120:3 13 (const int) 130:7 Function Definition: @main(f1; ( temp 4-component vector of float) 140:7 Function Parameters: 150:7 'f' ( in float) 160:? Sequence 170:8 Branch: Return with expression 180:8 Construct vec4 ( temp 4-component vector of float) 190:8 'f' ( in float) 200:7 Function Definition: main( ( temp void) 210:7 Function Parameters: 220:? Sequence 230:7 move second child to first child ( temp float) 240:? 'f' ( temp float) 250:? 'f' (layout( location=0) in float) 260:7 move second child to first child ( temp 4-component vector of float) 270:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 280:7 Function Call: @main(f1; ( temp 4-component vector of float) 290:? 'f' ( temp float) 300:? Linker Objects 310:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 320:? 'f' (layout( location=0) in float) 33 34 35Linked fragment stage: 36 37 38Shader version: 500 39gl_FragCoord origin is upper left 400:? Sequence 410:2 Function Definition: foo( ( temp 3-component vector of int) 420:2 Function Parameters: 430:? Sequence 440:3 Branch: Return with expression 450:3 Constant: 460:3 13 (const int) 470:3 13 (const int) 480:3 13 (const int) 490:7 Function Definition: @main(f1; ( temp 4-component vector of float) 500:7 Function Parameters: 510:7 'f' ( in float) 520:? Sequence 530:8 Branch: Return with expression 540:8 Construct vec4 ( temp 4-component vector of float) 550:8 'f' ( in float) 560:7 Function Definition: main( ( temp void) 570:7 Function Parameters: 580:? Sequence 590:7 move second child to first child ( temp float) 600:? 'f' ( temp float) 610:? 'f' (layout( location=0) in float) 620:7 move second child to first child ( temp 4-component vector of float) 630:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 640:7 Function Call: @main(f1; ( temp 4-component vector of float) 650:? 'f' ( temp float) 660:? Linker Objects 670:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 680:? 'f' (layout( location=0) in float) 69 70// Module Version 10000 71// Generated by (magic number): 8000a 72// Id's are bound by 35 73 74 Capability Shader 75 1: ExtInstImport "GLSL.std.450" 76 MemoryModel Logical GLSL450 77 EntryPoint Fragment 4 "main" 28 31 78 ExecutionMode 4 OriginUpperLeft 79 Source HLSL 500 80 Name 4 "main" 81 Name 9 "foo(" 82 Name 16 "@main(f1;" 83 Name 15 "f" 84 Name 26 "f" 85 Name 28 "f" 86 Name 31 "@entryPointOutput" 87 Name 32 "param" 88 Decorate 28(f) Location 0 89 Decorate 31(@entryPointOutput) Location 0 90 2: TypeVoid 91 3: TypeFunction 2 92 6: TypeInt 32 1 93 7: TypeVector 6(int) 3 94 8: TypeFunction 7(ivec3) 95 11: TypeFloat 32 96 12: TypePointer Function 11(float) 97 13: TypeVector 11(float) 4 98 14: TypeFunction 13(fvec4) 12(ptr) 99 18: 6(int) Constant 13 100 19: 7(ivec3) ConstantComposite 18 18 18 101 27: TypePointer Input 11(float) 102 28(f): 27(ptr) Variable Input 103 30: TypePointer Output 13(fvec4) 10431(@entryPointOutput): 30(ptr) Variable Output 105 4(main): 2 Function None 3 106 5: Label 107 26(f): 12(ptr) Variable Function 108 32(param): 12(ptr) Variable Function 109 29: 11(float) Load 28(f) 110 Store 26(f) 29 111 33: 11(float) Load 26(f) 112 Store 32(param) 33 113 34: 13(fvec4) FunctionCall 16(@main(f1;) 32(param) 114 Store 31(@entryPointOutput) 34 115 Return 116 FunctionEnd 117 9(foo(): 7(ivec3) Function None 8 118 10: Label 119 ReturnValue 19 120 FunctionEnd 121 16(@main(f1;): 13(fvec4) Function None 14 122 15(f): 12(ptr) FunctionParameter 123 17: Label 124 22: 11(float) Load 15(f) 125 23: 13(fvec4) CompositeConstruct 22 22 22 22 126 ReturnValue 23 127 FunctionEnd 128