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