1hlsl.pp.line.frag 2Shader version: 500 3gl_FragCoord origin is upper left 4using depth_any 50:? Sequence 60:4 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 70:4 Function Parameters: 80:? Sequence 90:124 Sequence 100:124 move second child to first child ( temp int) 110:124 'thisLineIs' ( temp int) 120:124 Constant: 130:124 124 (const int) 140:126 move second child to first child ( temp 4-component vector of float) 150:126 Color: direct index for structure ( temp 4-component vector of float) 160:126 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 170:126 Constant: 180:126 0 (const int) 190:? Construct vec4 ( temp 4-component vector of float) 200:126 Convert int to float ( temp float) 210:126 'thisLineIs' ( temp int) 220:126 Constant: 230:126 0.000000 240:126 Constant: 250:126 0.000000 260:126 Constant: 270:126 1.000000 280:127 move second child to first child ( temp float) 290:127 Depth: direct index for structure ( temp float) 300:127 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 310:127 Constant: 320:127 1 (const int) 330:127 Constant: 340:127 1.000000 350:129 Branch: Return with expression 360:129 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 370:4 Function Definition: main( ( temp void) 380:4 Function Parameters: 390:? Sequence 400:4 Sequence 410:4 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 420:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 430:4 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 440:4 move second child to first child ( temp 4-component vector of float) 450:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 460:4 Color: direct index for structure ( temp 4-component vector of float) 470:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 480:4 Constant: 490:4 0 (const int) 500:4 move second child to first child ( temp float) 510:? '@entryPointOutput.Depth' ( out float FragDepth) 520:4 Depth: direct index for structure ( temp float) 530:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 540:4 Constant: 550:4 1 (const int) 560:? Linker Objects 570:? '@entryPointOutput.Depth' ( out float FragDepth) 580:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 59 60 61Linked fragment stage: 62 63 64Shader version: 500 65gl_FragCoord origin is upper left 66using depth_any 670:? Sequence 680:4 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 690:4 Function Parameters: 700:? Sequence 710:124 Sequence 720:124 move second child to first child ( temp int) 730:124 'thisLineIs' ( temp int) 740:124 Constant: 750:124 124 (const int) 760:126 move second child to first child ( temp 4-component vector of float) 770:126 Color: direct index for structure ( temp 4-component vector of float) 780:126 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 790:126 Constant: 800:126 0 (const int) 810:? Construct vec4 ( temp 4-component vector of float) 820:126 Convert int to float ( temp float) 830:126 'thisLineIs' ( temp int) 840:126 Constant: 850:126 0.000000 860:126 Constant: 870:126 0.000000 880:126 Constant: 890:126 1.000000 900:127 move second child to first child ( temp float) 910:127 Depth: direct index for structure ( temp float) 920:127 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 930:127 Constant: 940:127 1 (const int) 950:127 Constant: 960:127 1.000000 970:129 Branch: Return with expression 980:129 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 990:4 Function Definition: main( ( temp void) 1000:4 Function Parameters: 1010:? Sequence 1020:4 Sequence 1030:4 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1040:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1050:4 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1060:4 move second child to first child ( temp 4-component vector of float) 1070:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 1080:4 Color: direct index for structure ( temp 4-component vector of float) 1090:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1100:4 Constant: 1110:4 0 (const int) 1120:4 move second child to first child ( temp float) 1130:? '@entryPointOutput.Depth' ( out float FragDepth) 1140:4 Depth: direct index for structure ( temp float) 1150:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth}) 1160:4 Constant: 1170:4 1 (const int) 1180:? Linker Objects 1190:? '@entryPointOutput.Depth' ( out float FragDepth) 1200:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 121 122// Module Version 10000 123// Generated by (magic number): 80008 124// Id's are bound by 42 125 126 Capability Shader 127 1: ExtInstImport "GLSL.std.450" 128 MemoryModel Logical GLSL450 129 EntryPoint Fragment 4 "main" 35 39 130 ExecutionMode 4 OriginUpperLeft 131 ExecutionMode 4 DepthReplacing 132 Source HLSL 500 133 Name 4 "main" 134 Name 8 "PS_OUTPUT" 135 MemberName 8(PS_OUTPUT) 0 "Color" 136 MemberName 8(PS_OUTPUT) 1 "Depth" 137 Name 10 "@main(" 138 Name 14 "thisLineIs" 139 Name 17 "psout" 140 Name 32 "flattenTemp" 141 Name 35 "@entryPointOutput.Color" 142 Name 39 "@entryPointOutput.Depth" 143 Decorate 35(@entryPointOutput.Color) Location 0 144 Decorate 39(@entryPointOutput.Depth) BuiltIn FragDepth 145 2: TypeVoid 146 3: TypeFunction 2 147 6: TypeFloat 32 148 7: TypeVector 6(float) 4 149 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float) 150 9: TypeFunction 8(PS_OUTPUT) 151 12: TypeInt 32 1 152 13: TypePointer Function 12(int) 153 15: 12(int) Constant 124 154 16: TypePointer Function 8(PS_OUTPUT) 155 18: 12(int) Constant 0 156 21: 6(float) Constant 0 157 22: 6(float) Constant 1065353216 158 24: TypePointer Function 7(fvec4) 159 26: 12(int) Constant 1 160 27: TypePointer Function 6(float) 161 34: TypePointer Output 7(fvec4) 16235(@entryPointOutput.Color): 34(ptr) Variable Output 163 38: TypePointer Output 6(float) 16439(@entryPointOutput.Depth): 38(ptr) Variable Output 165 4(main): 2 Function None 3 166 5: Label 167 32(flattenTemp): 16(ptr) Variable Function 168 33:8(PS_OUTPUT) FunctionCall 10(@main() 169 Store 32(flattenTemp) 33 170 36: 24(ptr) AccessChain 32(flattenTemp) 18 171 37: 7(fvec4) Load 36 172 Store 35(@entryPointOutput.Color) 37 173 40: 27(ptr) AccessChain 32(flattenTemp) 26 174 41: 6(float) Load 40 175 Store 39(@entryPointOutput.Depth) 41 176 Return 177 FunctionEnd 178 10(@main():8(PS_OUTPUT) Function None 9 179 11: Label 180 14(thisLineIs): 13(ptr) Variable Function 181 17(psout): 16(ptr) Variable Function 182 Store 14(thisLineIs) 15 183 19: 12(int) Load 14(thisLineIs) 184 20: 6(float) ConvertSToF 19 185 23: 7(fvec4) CompositeConstruct 20 21 21 22 186 25: 24(ptr) AccessChain 17(psout) 18 187 Store 25 23 188 28: 27(ptr) AccessChain 17(psout) 26 189 Store 28 22 190 29:8(PS_OUTPUT) Load 17(psout) 191 ReturnValue 29 192 FunctionEnd 193