• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1hlsl.partialFlattenLocal.vert
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 159
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Vertex 4  "main" 83 86
10                              Source HLSL 500
11                              Name 4  "main"
12                              Name 83  "pos"
13                              Name 86  "@entryPointOutput"
14                              Decorate 83(pos) Location 0
15                              Decorate 86(@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              54:             TypeBool
37              82:             TypePointer Input 7(fvec4)
38         83(pos):     82(ptr) Variable Input
39              85:             TypePointer Output 7(fvec4)
4086(@entryPointOutput):     85(ptr) Variable Output
41             131:             TypePointer Function 17
42             133:             TypePointer Function 20
43         4(main):           2 Function None 3
44               5:             Label
45             134:    133(ptr) Variable Function
46             132:    131(ptr) Variable Function
47              84:    7(fvec4) Load 83(pos)
48             137:     34(ptr) AccessChain 132 25
49                              Store 137 33
50             138:     39(ptr) AccessChain 134 25
51                              Store 138 38
52                              Branch 101
53             101:             Label
54             158:     21(int) Phi 25 5 119 105
55             104:    54(bool) SLessThan 158 31
56                              LoopMerge 120 105 None
57                              BranchConditional 104 105 120
58             105:               Label
59             139:     39(ptr)   AccessChain 134 158
60             109:   18(fvec2)   Load 139
61             140:     34(ptr)   AccessChain 132 158
62             111:   14(fvec3)   Load 140
63             112:   18(fvec2)   VectorShuffle 111 111 0 1
64             113:   18(fvec2)   FAdd 112 109
65             141:     34(ptr)   AccessChain 132 158
66             115:   14(fvec3)   Load 141
67             116:   14(fvec3)   VectorShuffle 115 113 3 4 2
68                                Store 141 116
69             119:     21(int)   IAdd 158 31
70                                Branch 101
71             120:             Label
72             143:          17 Load 132
73             157:   14(fvec3) CompositeExtract 143 0
74             125:    6(float) CompositeExtract 157 0
75             126:    6(float) CompositeExtract 157 1
76             127:    6(float) CompositeExtract 157 2
77             128:    7(fvec4) CompositeConstruct 125 126 127 32
78             129:    7(fvec4) FAdd 84 128
79                              Store 86(@entryPointOutput) 129
80                              Return
81                              FunctionEnd
82