blob: 410915cfe80d0d02c1aa4f4e0f581e5df9f82115 [file] [log] [blame]
steve-lunargc0043cd2017-04-27 18:22:52 -06001hlsl.emptystruct.init.vert
2WARNING: 0:3: 'Test_Empty' : variable with qualifier 'const' not initialized; zero initializing
3
4Shader version: 500
50:? Sequence
60:6 Function Definition: @main(u1; ( temp 4-component vector of float)
70:6 Function Parameters:
80:6 'vertexIndex' ( in uint)
90:? Sequence
100:7 Branch: Return with expression
110:7 Constant:
120:7 0.000000
130:7 0.000000
140:7 0.000000
150:7 0.000000
160:6 Function Definition: main( ( temp void)
170:6 Function Parameters:
180:? Sequence
190:6 move second child to first child ( temp uint)
200:? 'vertexIndex' ( temp uint)
210:? 'vertexIndex' (layout( location=0) in uint)
220:6 move second child to first child ( temp 4-component vector of float)
230:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
240:6 Function Call: @main(u1; ( temp 4-component vector of float)
250:? 'vertexIndex' ( temp uint)
260:? Linker Objects
270:? 'Test_Empty' ( const structure{})
280:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
290:? 'vertexIndex' (layout( location=0) in uint)
30
31
32Linked vertex stage:
33
34
35Shader version: 500
360:? Sequence
370:6 Function Definition: @main(u1; ( temp 4-component vector of float)
380:6 Function Parameters:
390:6 'vertexIndex' ( in uint)
400:? Sequence
410:7 Branch: Return with expression
420:7 Constant:
430:7 0.000000
440:7 0.000000
450:7 0.000000
460:7 0.000000
470:6 Function Definition: main( ( temp void)
480:6 Function Parameters:
490:? Sequence
500:6 move second child to first child ( temp uint)
510:? 'vertexIndex' ( temp uint)
520:? 'vertexIndex' (layout( location=0) in uint)
530:6 move second child to first child ( temp 4-component vector of float)
540:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
550:6 Function Call: @main(u1; ( temp 4-component vector of float)
560:? 'vertexIndex' ( temp uint)
570:? Linker Objects
580:? 'Test_Empty' ( const structure{})
590:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
600:? 'vertexIndex' (layout( location=0) in uint)
61
John Kessenich2b5ea9f2018-01-31 18:35:56 -070062// Module Version 10000
John Kessenichd6c97552018-06-04 15:33:31 -060063// Generated by (magic number): 80007
steve-lunargc0043cd2017-04-27 18:22:52 -060064// 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)
9323(@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