1hlsl.typeGraphCopy.vert 2Shader version: 500 30:? Sequence 40:22 Function Definition: @main( ( temp float) 50:22 Function Parameters: 60:? Sequence 70:23 Branch: Return with expression 80:23 b: direct index for structure ( temp float) 90:23 s2: direct index for structure ( temp structure{ temp int a, temp float b}) 100:23 t3: direct index for structure ( temp structure{ temp structure{ temp int a, temp float b} s1, temp structure{ temp int a, temp float b} s2}) 110:23 foo: direct index for structure ( uniform structure{ temp structure{ temp structure{ temp int a, temp float b} s1, temp structure{ temp int a, temp float b} s2} t1, temp structure{ temp int a, temp float b} t2, temp structure{ temp structure{ temp int a, temp float b} s1, temp structure{ temp int a, temp float b} s2} t3}) 120:23 'anon@0' (layout( row_major std140) uniform block{ uniform structure{ temp structure{ temp structure{ temp int a, temp float b} s1, temp structure{ temp int a, temp float b} s2} t1, temp structure{ temp int a, temp float b} t2, temp structure{ temp structure{ temp int a, temp float b} s1, temp structure{ temp int a, temp float b} s2} t3} foo}) 130:23 Constant: 140:23 0 (const uint) 150:23 Constant: 160:23 2 (const int) 170:23 Constant: 180:23 1 (const int) 190:23 Constant: 200:23 1 (const int) 210:22 Function Definition: main( ( temp void) 220:22 Function Parameters: 230:? Sequence 240:22 move second child to first child ( temp float) 250:? '@entryPointOutput' (layout( location=0) out float) 260:22 Function Call: @main( ( temp float) 270:? Linker Objects 280:? 'anon@0' (layout( row_major std140) uniform block{ uniform structure{ temp structure{ temp structure{ temp int a, temp float b} s1, temp structure{ temp int a, temp float b} s2} t1, temp structure{ temp int a, temp float b} t2, temp structure{ temp structure{ temp int a, temp float b} s1, temp structure{ temp int a, temp float b} s2} t3} foo}) 290:? '@entryPointOutput' (layout( location=0) out float) 30 31 32Linked vertex stage: 33 34 35Shader version: 500 360:? Sequence 370:22 Function Definition: @main( ( temp float) 380:22 Function Parameters: 390:? Sequence 400:23 Branch: Return with expression 410:23 b: direct index for structure ( temp float) 420:23 s2: direct index for structure ( temp structure{ temp int a, temp float b}) 430:23 t3: direct index for structure ( temp structure{ temp structure{ temp int a, temp float b} s1, temp structure{ temp int a, temp float b} s2}) 440:23 foo: direct index for structure ( uniform structure{ temp structure{ temp structure{ temp int a, temp float b} s1, temp structure{ temp int a, temp float b} s2} t1, temp structure{ temp int a, temp float b} t2, temp structure{ temp structure{ temp int a, temp float b} s1, temp structure{ temp int a, temp float b} s2} t3}) 450:23 'anon@0' (layout( row_major std140) uniform block{ uniform structure{ temp structure{ temp structure{ temp int a, temp float b} s1, temp structure{ temp int a, temp float b} s2} t1, temp structure{ temp int a, temp float b} t2, temp structure{ temp structure{ temp int a, temp float b} s1, temp structure{ temp int a, temp float b} s2} t3} foo}) 460:23 Constant: 470:23 0 (const uint) 480:23 Constant: 490:23 2 (const int) 500:23 Constant: 510:23 1 (const int) 520:23 Constant: 530:23 1 (const int) 540:22 Function Definition: main( ( temp void) 550:22 Function Parameters: 560:? Sequence 570:22 move second child to first child ( temp float) 580:? '@entryPointOutput' (layout( location=0) out float) 590:22 Function Call: @main( ( temp float) 600:? Linker Objects 610:? 'anon@0' (layout( row_major std140) uniform block{ uniform structure{ temp structure{ temp structure{ temp int a, temp float b} s1, temp structure{ temp int a, temp float b} s2} t1, temp structure{ temp int a, temp float b} t2, temp structure{ temp structure{ temp int a, temp float b} s1, temp structure{ temp int a, temp float b} s2} t3} foo}) 620:? '@entryPointOutput' (layout( location=0) out float) 63 64// Module Version 10000 65// Generated by (magic number): 8000b 66// Id's are bound by 28 67 68 Capability Shader 69 1: ExtInstImport "GLSL.std.450" 70 MemoryModel Logical GLSL450 71 EntryPoint Vertex 4 "main" 26 72 Source HLSL 500 73 Name 4 "main" 74 Name 8 "@main(" 75 Name 11 "N1" 76 MemberName 11(N1) 0 "a" 77 MemberName 11(N1) 1 "b" 78 Name 12 "N2" 79 MemberName 12(N2) 0 "s1" 80 MemberName 12(N2) 1 "s2" 81 Name 13 "N3" 82 MemberName 13(N3) 0 "t1" 83 MemberName 13(N3) 1 "t2" 84 MemberName 13(N3) 2 "t3" 85 Name 14 "$Global" 86 MemberName 14($Global) 0 "foo" 87 Name 16 "" 88 Name 26 "@entryPointOutput" 89 MemberDecorate 11(N1) 0 Offset 0 90 MemberDecorate 11(N1) 1 Offset 4 91 MemberDecorate 12(N2) 0 Offset 0 92 MemberDecorate 12(N2) 1 Offset 16 93 MemberDecorate 13(N3) 0 Offset 0 94 MemberDecorate 13(N3) 1 Offset 32 95 MemberDecorate 13(N3) 2 Offset 48 96 MemberDecorate 14($Global) 0 Offset 0 97 Decorate 14($Global) Block 98 Decorate 16 DescriptorSet 0 99 Decorate 16 Binding 0 100 Decorate 26(@entryPointOutput) Location 0 101 2: TypeVoid 102 3: TypeFunction 2 103 6: TypeFloat 32 104 7: TypeFunction 6(float) 105 10: TypeInt 32 1 106 11(N1): TypeStruct 10(int) 6(float) 107 12(N2): TypeStruct 11(N1) 11(N1) 108 13(N3): TypeStruct 12(N2) 11(N1) 12(N2) 109 14($Global): TypeStruct 13(N3) 110 15: TypePointer Uniform 14($Global) 111 16: 15(ptr) Variable Uniform 112 17: 10(int) Constant 0 113 18: 10(int) Constant 2 114 19: 10(int) Constant 1 115 20: TypePointer Uniform 6(float) 116 25: TypePointer Output 6(float) 11726(@entryPointOutput): 25(ptr) Variable Output 118 4(main): 2 Function None 3 119 5: Label 120 27: 6(float) FunctionCall 8(@main() 121 Store 26(@entryPointOutput) 27 122 Return 123 FunctionEnd 124 8(@main(): 6(float) Function None 7 125 9: Label 126 21: 20(ptr) AccessChain 16 17 18 19 19 127 22: 6(float) Load 21 128 ReturnValue 22 129 FunctionEnd 130