1 hlsl.emptystruct.init.vert 2 WARNING: 0:3: 'Test_Empty' : variable with qualifier 'const' not initialized; zero initializing 3 4 Shader version: 500 5 0:? Sequence 6 0:6 Function Definition: @main(u1; ( temp 4-component vector of float) 7 0:6 Function Parameters: 8 0:6 'vertexIndex' ( in uint) 9 0:? Sequence 10 0:7 Branch: Return with expression 11 0:7 Constant: 12 0:7 0.000000 13 0:7 0.000000 14 0:7 0.000000 15 0:7 0.000000 16 0:6 Function Definition: main( ( temp void) 17 0:6 Function Parameters: 18 0:? Sequence 19 0:6 move second child to first child ( temp uint) 20 0:? 'vertexIndex' ( temp uint) 21 0:? 'vertexIndex' (layout( location=0) in uint) 22 0:6 move second child to first child ( temp 4-component vector of float) 23 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 24 0:6 Function Call: @main(u1; ( temp 4-component vector of float) 25 0:? 'vertexIndex' ( temp uint) 26 0:? Linker Objects 27 0:? 'Test_Empty' ( const structure{}) 28 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 29 0:? 'vertexIndex' (layout( location=0) in uint) 30 31 32 Linked vertex stage: 33 34 35 Shader version: 500 36 0:? Sequence 37 0:6 Function Definition: @main(u1; ( temp 4-component vector of float) 38 0:6 Function Parameters: 39 0:6 'vertexIndex' ( in uint) 40 0:? Sequence 41 0:7 Branch: Return with expression 42 0:7 Constant: 43 0:7 0.000000 44 0:7 0.000000 45 0:7 0.000000 46 0:7 0.000000 47 0:6 Function Definition: main( ( temp void) 48 0:6 Function Parameters: 49 0:? Sequence 50 0:6 move second child to first child ( temp uint) 51 0:? 'vertexIndex' ( temp uint) 52 0:? 'vertexIndex' (layout( location=0) in uint) 53 0:6 move second child to first child ( temp 4-component vector of float) 54 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 55 0:6 Function Call: @main(u1; ( temp 4-component vector of float) 56 0:? 'vertexIndex' ( temp uint) 57 0:? Linker Objects 58 0:? 'Test_Empty' ( const structure{}) 59 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 60 0:? 'vertexIndex' (layout( location=0) in uint) 61 62 // Module Version 10000 63 // Generated by (magic number): 80007 64 // Id's are bound by 29 65 66 Capability Shader 67 1: ExtInstImport "GLSL.std.450" 68 MemoryModel Logical GLSL450 69 EntryPoint Vertex 4 "main" 20 23 70 Source HLSL 500 71 Name 4 "main" 72 Name 12 "@main(u1;" 73 Name 11 "vertexIndex" 74 Name 18 "vertexIndex" 75 Name 20 "vertexIndex" 76 Name 23 "@entryPointOutput" 77 Name 24 "param" 78 Name 27 "Test" 79 Decorate 20(vertexIndex) Location 0 80 Decorate 23(@entryPointOutput) Location 0 81 2: TypeVoid 82 3: TypeFunction 2 83 6: TypeInt 32 0 84 7: TypePointer Function 6(int) 85 8: TypeFloat 32 86 9: TypeVector 8(float) 4 87 10: TypeFunction 9(fvec4) 7(ptr) 88 14: 8(float) Constant 0 89 15: 9(fvec4) ConstantComposite 14 14 14 14 90 19: TypePointer Input 6(int) 91 20(vertexIndex): 19(ptr) Variable Input 92 22: TypePointer Output 9(fvec4) 93 23(@entryPointOutput): 22(ptr) Variable Output 94 27(Test): TypeStruct 95 28: 27(Test) ConstantComposite 96 4(main): 2 Function None 3 97 5: Label 98 18(vertexIndex): 7(ptr) Variable Function 99 24(param): 7(ptr) Variable Function 100 21: 6(int) Load 20(vertexIndex) 101 Store 18(vertexIndex) 21 102 25: 6(int) Load 18(vertexIndex) 103 Store 24(param) 25 104 26: 9(fvec4) FunctionCall 12(@main(u1;) 24(param) 105 Store 23(@entryPointOutput) 26 106 Return 107 FunctionEnd 108 12(@main(u1;): 9(fvec4) Function None 10 109 11(vertexIndex): 7(ptr) FunctionParameter 110 13: Label 111 ReturnValue 15 112 FunctionEnd 113