1hlsl.nonint-index.frag 2Shader version: 500 3gl_FragCoord origin is upper left 40:? Sequence 50:4 Function Definition: @main(f1; ( temp float) 60:4 Function Parameters: 70:4 'input' ( in float) 80:? Sequence 90:7 Branch: Return with expression 100:7 add ( temp float) 110:7 add ( temp float) 120:7 add ( temp float) 130:7 indirect index ( temp float) 140:7 Constant: 150:7 1.000000 160:7 2.000000 170:7 3.000000 180:7 Convert float to uint ( temp uint) 190:7 'input' ( in float) 200:7 Constant: 210:7 3.000000 220:7 Constant: 230:7 2.000000 240:7 Constant: 250:7 1.000000 260:4 Function Definition: main( ( temp void) 270:4 Function Parameters: 280:? Sequence 290:4 move second child to first child ( temp float) 300:? 'input' ( temp float) 310:? 'input' (layout( location=0) in float) 320:4 move second child to first child ( temp float) 330:? '@entryPointOutput' (layout( location=0) out float) 340:4 Function Call: @main(f1; ( temp float) 350:? 'input' ( temp float) 360:? Linker Objects 370:? 'array' ( const 3-element array of float) 380:? 1.000000 390:? 2.000000 400:? 3.000000 410:? '@entryPointOutput' (layout( location=0) out float) 420:? 'input' (layout( location=0) in float) 43 44 45Linked fragment stage: 46 47 48Shader version: 500 49gl_FragCoord origin is upper left 500:? Sequence 510:4 Function Definition: @main(f1; ( temp float) 520:4 Function Parameters: 530:4 'input' ( in float) 540:? Sequence 550:7 Branch: Return with expression 560:7 add ( temp float) 570:7 add ( temp float) 580:7 add ( temp float) 590:7 indirect index ( temp float) 600:7 Constant: 610:7 1.000000 620:7 2.000000 630:7 3.000000 640:7 Convert float to uint ( temp uint) 650:7 'input' ( in float) 660:7 Constant: 670:7 3.000000 680:7 Constant: 690:7 2.000000 700:7 Constant: 710:7 1.000000 720:4 Function Definition: main( ( temp void) 730:4 Function Parameters: 740:? Sequence 750:4 move second child to first child ( temp float) 760:? 'input' ( temp float) 770:? 'input' (layout( location=0) in float) 780:4 move second child to first child ( temp float) 790:? '@entryPointOutput' (layout( location=0) out float) 800:4 Function Call: @main(f1; ( temp float) 810:? 'input' ( temp float) 820:? Linker Objects 830:? 'array' ( const 3-element array of float) 840:? 1.000000 850:? 2.000000 860:? 3.000000 870:? '@entryPointOutput' (layout( location=0) out float) 880:? 'input' (layout( location=0) in float) 89 90// Module Version 10000 91// Generated by (magic number): 80007 92// Id's are bound by 39 93 94 Capability Shader 95 1: ExtInstImport "GLSL.std.450" 96 MemoryModel Logical GLSL450 97 EntryPoint Fragment 4 "main" 32 35 98 ExecutionMode 4 OriginUpperLeft 99 Source HLSL 500 100 Name 4 "main" 101 Name 10 "@main(f1;" 102 Name 9 "input" 103 Name 22 "indexable" 104 Name 30 "input" 105 Name 32 "input" 106 Name 35 "@entryPointOutput" 107 Name 36 "param" 108 Decorate 32(input) Location 0 109 Decorate 35(@entryPointOutput) Location 0 110 2: TypeVoid 111 3: TypeFunction 2 112 6: TypeFloat 32 113 7: TypePointer Function 6(float) 114 8: TypeFunction 6(float) 7(ptr) 115 12: TypeInt 32 0 116 13: 12(int) Constant 3 117 14: TypeArray 6(float) 13 118 15: 6(float) Constant 1065353216 119 16: 6(float) Constant 1073741824 120 17: 6(float) Constant 1077936128 121 18: 14 ConstantComposite 15 16 17 122 21: TypePointer Function 14 123 31: TypePointer Input 6(float) 124 32(input): 31(ptr) Variable Input 125 34: TypePointer Output 6(float) 12635(@entryPointOutput): 34(ptr) Variable Output 127 4(main): 2 Function None 3 128 5: Label 129 30(input): 7(ptr) Variable Function 130 36(param): 7(ptr) Variable Function 131 33: 6(float) Load 32(input) 132 Store 30(input) 33 133 37: 6(float) Load 30(input) 134 Store 36(param) 37 135 38: 6(float) FunctionCall 10(@main(f1;) 36(param) 136 Store 35(@entryPointOutput) 38 137 Return 138 FunctionEnd 139 10(@main(f1;): 6(float) Function None 8 140 9(input): 7(ptr) FunctionParameter 141 11: Label 142 22(indexable): 21(ptr) Variable Function 143 19: 6(float) Load 9(input) 144 20: 12(int) ConvertFToU 19 145 Store 22(indexable) 18 146 23: 7(ptr) AccessChain 22(indexable) 20 147 24: 6(float) Load 23 148 25: 6(float) FAdd 24 17 149 26: 6(float) FAdd 25 16 150 27: 6(float) FAdd 26 15 151 ReturnValue 27 152 FunctionEnd 153