1 hlsl.semicolons.frag 2 Shader version: 500 3 gl_FragCoord origin is upper left 4 0:? Sequence 5 0:2 Function Definition: MyFunc( ( temp void) 6 0:2 Function Parameters: 7 0:8 Function Definition: MyFunc2( ( temp void) 8 0:8 Function Parameters: 9 0:13 Function Definition: @main( ( temp structure{ temp 4-component vector of float color}) 10 0:13 Function Parameters: 11 0:? Sequence 12 0:16 move second child to first child ( temp 4-component vector of float) 13 0:16 color: direct index for structure ( temp 4-component vector of float) 14 0:16 'ps_output' ( temp structure{ temp 4-component vector of float color}) 15 0:16 Constant: 16 0:16 0 (const int) 17 0:16 Constant: 18 0:16 1.000000 19 0:16 1.000000 20 0:16 1.000000 21 0:16 1.000000 22 0:17 Branch: Return with expression 23 0:17 'ps_output' ( temp structure{ temp 4-component vector of float color}) 24 0:13 Function Definition: main( ( temp void) 25 0:13 Function Parameters: 26 0:? Sequence 27 0:13 Sequence 28 0:13 move second child to first child ( temp 4-component vector of float) 29 0:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 30 0:13 color: direct index for structure ( temp 4-component vector of float) 31 0:13 Function Call: @main( ( temp structure{ temp 4-component vector of float color}) 32 0:13 Constant: 33 0:13 0 (const int) 34 0:? Linker Objects 35 0:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 36 37 38 Linked fragment stage: 39 40 41 Shader version: 500 42 gl_FragCoord origin is upper left 43 0:? Sequence 44 0:2 Function Definition: MyFunc( ( temp void) 45 0:2 Function Parameters: 46 0:8 Function Definition: MyFunc2( ( temp void) 47 0:8 Function Parameters: 48 0:13 Function Definition: @main( ( temp structure{ temp 4-component vector of float color}) 49 0:13 Function Parameters: 50 0:? Sequence 51 0:16 move second child to first child ( temp 4-component vector of float) 52 0:16 color: direct index for structure ( temp 4-component vector of float) 53 0:16 'ps_output' ( temp structure{ temp 4-component vector of float color}) 54 0:16 Constant: 55 0:16 0 (const int) 56 0:16 Constant: 57 0:16 1.000000 58 0:16 1.000000 59 0:16 1.000000 60 0:16 1.000000 61 0:17 Branch: Return with expression 62 0:17 'ps_output' ( temp structure{ temp 4-component vector of float color}) 63 0:13 Function Definition: main( ( temp void) 64 0:13 Function Parameters: 65 0:? Sequence 66 0:13 Sequence 67 0:13 move second child to first child ( temp 4-component vector of float) 68 0:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 69 0:13 color: direct index for structure ( temp 4-component vector of float) 70 0:13 Function Call: @main( ( temp structure{ temp 4-component vector of float color}) 71 0:13 Constant: 72 0:13 0 (const int) 73 0:? Linker Objects 74 0:? '@entryPointOutput.color' (layout( location=0) out 4-component vector of float) 75 76 // Module Version 10000 77 // Generated by (magic number): 80007 78 // Id's are bound by 31 79 80 Capability Shader 81 1: ExtInstImport "GLSL.std.450" 82 MemoryModel Logical GLSL450 83 EntryPoint Fragment 4 "main" 28 84 ExecutionMode 4 OriginUpperLeft 85 Source HLSL 500 86 Name 4 "main" 87 Name 6 "MyFunc(" 88 Name 8 "MyFunc2(" 89 Name 12 "PS_OUTPUT" 90 MemberName 12(PS_OUTPUT) 0 "color" 91 Name 14 "@main(" 92 Name 17 "ps_output" 93 Name 28 "@entryPointOutput.color" 94 Decorate 28(@entryPointOutput.color) Location 0 95 2: TypeVoid 96 3: TypeFunction 2 97 10: TypeFloat 32 98 11: TypeVector 10(float) 4 99 12(PS_OUTPUT): TypeStruct 11(fvec4) 100 13: TypeFunction 12(PS_OUTPUT) 101 16: TypePointer Function 12(PS_OUTPUT) 102 18: TypeInt 32 1 103 19: 18(int) Constant 0 104 20: 10(float) Constant 1065353216 105 21: 11(fvec4) ConstantComposite 20 20 20 20 106 22: TypePointer Function 11(fvec4) 107 27: TypePointer Output 11(fvec4) 108 28(@entryPointOutput.color): 27(ptr) Variable Output 109 4(main): 2 Function None 3 110 5: Label 111 29:12(PS_OUTPUT) FunctionCall 14(@main() 112 30: 11(fvec4) CompositeExtract 29 0 113 Store 28(@entryPointOutput.color) 30 114 Return 115 FunctionEnd 116 6(MyFunc(): 2 Function None 3 117 7: Label 118 Return 119 FunctionEnd 120 8(MyFunc2(): 2 Function None 3 121 9: Label 122 Return 123 FunctionEnd 124 14(@main():12(PS_OUTPUT) Function None 13 125 15: Label 126 17(ps_output): 16(ptr) Variable Function 127 23: 22(ptr) AccessChain 17(ps_output) 19 128 Store 23 21 129 24:12(PS_OUTPUT) Load 17(ps_output) 130 ReturnValue 24 131 FunctionEnd 132