1hlsl.constructexpr.frag 2Shader version: 500 3gl_FragCoord origin is upper left 40:? Sequence 50:4 Function Definition: @main( ( temp structure{ temp 4-component vector of float color}) 60:4 Function Parameters: 70:? Sequence 80:6 Constant: 90:6 3 (const int) 100:7 Constant: 110:7 4 (const int) 120:8 Constant: 130:8 5 (const int) 140:9 Constant: 150:9 6 (const int) 160:10 Constant: 170:10 7 (const int) 180:11 Constant: 190:11 8 (const int) 200:12 Comma ( temp 2-component vector of float) 210:? Constant: 220:? 9.000000 230:? 10.000000 240:? Constant: 250:? 11.000000 260:? 12.000000 270:15 move second child to first child ( temp 4-component vector of float) 280:15 color: direct index for structure ( temp 4-component vector of float) 290:15 'ps_output' ( temp structure{ temp 4-component vector of float color}) 300:15 Constant: 310:15 0 (const int) 320:15 Constant: 330:15 1.000000 340:15 1.000000 350:15 1.000000 360:15 1.000000 370:16 Branch: Return with expression 380:16 'ps_output' ( temp structure{ temp 4-component vector of float color}) 390:4 Function Definition: main( ( temp void) 400:4 Function Parameters: 410:? Sequence 420:4 Sequence 430:4 move second child to first child ( temp 4-component vector of float) 440:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 450:4 color: direct index for structure ( temp 4-component vector of float) 460:4 Function Call: @main( ( temp structure{ temp 4-component vector of float color}) 470:4 Constant: 480:4 0 (const int) 490:? Linker Objects 500:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 51 52 53Linked fragment stage: 54 55 56Shader version: 500 57gl_FragCoord origin is upper left 580:? Sequence 590:4 Function Definition: @main( ( temp structure{ temp 4-component vector of float color}) 600:4 Function Parameters: 610:? Sequence 620:6 Constant: 630:6 3 (const int) 640:7 Constant: 650:7 4 (const int) 660:8 Constant: 670:8 5 (const int) 680:9 Constant: 690:9 6 (const int) 700:10 Constant: 710:10 7 (const int) 720:11 Constant: 730:11 8 (const int) 740:12 Comma ( temp 2-component vector of float) 750:? Constant: 760:? 9.000000 770:? 10.000000 780:? Constant: 790:? 11.000000 800:? 12.000000 810:15 move second child to first child ( temp 4-component vector of float) 820:15 color: direct index for structure ( temp 4-component vector of float) 830:15 'ps_output' ( temp structure{ temp 4-component vector of float color}) 840:15 Constant: 850:15 0 (const int) 860:15 Constant: 870:15 1.000000 880:15 1.000000 890:15 1.000000 900:15 1.000000 910:16 Branch: Return with expression 920:16 'ps_output' ( temp structure{ temp 4-component vector of float color}) 930:4 Function Definition: main( ( temp void) 940:4 Function Parameters: 950:? Sequence 960:4 Sequence 970:4 move second child to first child ( temp 4-component vector of float) 980:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 990:4 color: direct index for structure ( temp 4-component vector of float) 1000:4 Function Call: @main( ( temp structure{ temp 4-component vector of float color}) 1010:4 Constant: 1020:4 0 (const int) 1030:? Linker Objects 1040:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 105 106// Module Version 10000 107// Generated by (magic number): 8000a 108// Id's are bound by 40 109 110 Capability Shader 111 1: ExtInstImport "GLSL.std.450" 112 MemoryModel Logical GLSL450 113 EntryPoint Fragment 4 "main" 37 114 ExecutionMode 4 OriginUpperLeft 115 Source HLSL 500 116 Name 4 "main" 117 Name 8 "PS_OUTPUT" 118 MemberName 8(PS_OUTPUT) 0 "color" 119 Name 10 "@main(" 120 Name 27 "ps_output" 121 Name 37 "@entryPointOutput.color" 122 Decorate 37(@entryPointOutput.color) Location 0 123 2: TypeVoid 124 3: TypeFunction 2 125 6: TypeFloat 32 126 7: TypeVector 6(float) 4 127 8(PS_OUTPUT): TypeStruct 7(fvec4) 128 9: TypeFunction 8(PS_OUTPUT) 129 12: TypeInt 32 1 130 13: 12(int) Constant 3 131 14: 12(int) Constant 4 132 15: 12(int) Constant 5 133 16: 12(int) Constant 6 134 17: 12(int) Constant 7 135 18: 12(int) Constant 8 136 19: TypeVector 6(float) 2 137 20: 6(float) Constant 1091567616 138 21: 6(float) Constant 1092616192 139 22: 19(fvec2) ConstantComposite 20 21 140 23: 6(float) Constant 1093664768 141 24: 6(float) Constant 1094713344 142 25: 19(fvec2) ConstantComposite 23 24 143 26: TypePointer Function 8(PS_OUTPUT) 144 28: 12(int) Constant 0 145 29: 6(float) Constant 1065353216 146 30: 7(fvec4) ConstantComposite 29 29 29 29 147 31: TypePointer Function 7(fvec4) 148 36: TypePointer Output 7(fvec4) 14937(@entryPointOutput.color): 36(ptr) Variable Output 150 4(main): 2 Function None 3 151 5: Label 152 38:8(PS_OUTPUT) FunctionCall 10(@main() 153 39: 7(fvec4) CompositeExtract 38 0 154 Store 37(@entryPointOutput.color) 39 155 Return 156 FunctionEnd 157 10(@main():8(PS_OUTPUT) Function None 9 158 11: Label 159 27(ps_output): 26(ptr) Variable Function 160 32: 31(ptr) AccessChain 27(ps_output) 28 161 Store 32 30 162 33:8(PS_OUTPUT) Load 27(ps_output) 163 ReturnValue 33 164 FunctionEnd 165