1hlsl.partialFlattenLocal.vert
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 164
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Vertex 4  "main" 86 89
10                              Source HLSL 500
11                              Name 4  "main"
12                              Name 86  "pos"
13                              Name 89  "@entryPointOutput"
14                              Decorate 86(pos) Location 0
15                              Decorate 89(@entryPointOutput) BuiltIn Position
16               2:             TypeVoid
17               3:             TypeFunction 2
18               6:             TypeFloat 32
19               7:             TypeVector 6(float) 4
20              14:             TypeVector 6(float) 3
21              15:             TypeInt 32 0
22              16:     15(int) Constant 3
23              17:             TypeArray 14(fvec3) 16
24              18:             TypeVector 6(float) 2
25              19:     15(int) Constant 2
26              20:             TypeArray 18(fvec2) 19
27              21:             TypeInt 32 1
28              25:     21(int) Constant 0
29              31:     21(int) Constant 1
30              32:    6(float) Constant 0
31              33:   14(fvec3) ConstantComposite 32 32 32
32              34:             TypePointer Function 14(fvec3)
33              37:    6(float) Constant 1065353216
34              38:   18(fvec2) ConstantComposite 32 37
35              39:             TypePointer Function 18(fvec2)
36              42:             TypePointer Function 6(float)
37              54:             TypeBool
38              64:     15(int) Constant 0
39              67:     15(int) Constant 1
40              85:             TypePointer Input 7(fvec4)
41         86(pos):     85(ptr) Variable Input
42              88:             TypePointer Output 7(fvec4)
4389(@entryPointOutput):     88(ptr) Variable Output
44             135:             TypePointer Function 17
45             137:             TypePointer Function 20
46         4(main):           2 Function None 3
47               5:             Label
48             138:    137(ptr) Variable Function
49             136:    135(ptr) Variable Function
50              87:    7(fvec4) Load 86(pos)
51             141:     34(ptr) AccessChain 136 25
52                              Store 141 33
53             142:     39(ptr) AccessChain 138 25
54                              Store 142 38
55                              Branch 104
56             104:             Label
57             163:     21(int) Phi 25 5 123 108
58             107:    54(bool) SLessThan 163 31
59                              LoopMerge 124 108 None
60                              BranchConditional 107 108 124
61             108:               Label
62             143:     39(ptr)   AccessChain 138 163
63             112:   18(fvec2)   Load 143
64             144:     34(ptr)   AccessChain 136 163
65             114:   14(fvec3)   Load 144
66             115:   18(fvec2)   VectorShuffle 114 114 0 1
67             116:   18(fvec2)   FAdd 115 112
68             145:     42(ptr)   AccessChain 136 163 64
69             118:    6(float)   CompositeExtract 116 0
70                                Store 145 118
71             146:     42(ptr)   AccessChain 136 163 67
72             120:    6(float)   CompositeExtract 116 1
73                                Store 146 120
74             123:     21(int)   IAdd 163 31
75                                Branch 104
76             124:             Label
77             148:          17 Load 136
78             162:   14(fvec3) CompositeExtract 148 0
79             129:    6(float) CompositeExtract 162 0
80             130:    6(float) CompositeExtract 162 1
81             131:    6(float) CompositeExtract 162 2
82             132:    7(fvec4) CompositeConstruct 129 130 131 32
83             133:    7(fvec4) FAdd 87 132
84                              Store 89(@entryPointOutput) 133
85                              Return
86                              FunctionEnd
87