blob: c79545216b20b10450e47ed0a93a96c1aa8320e5 [file] [log] [blame]
John Kessenichcb421ef2017-11-16 15:02:06 -07001hlsl.partialFlattenLocal.vert
2WARNING: AST will form illegal SPIR-V; need to transform to legalize
John Kessenich2b5ea9f2018-01-31 18:35:56 -07003// Module Version 10000
John Kessenich71b5da62018-02-06 08:06:36 -07004// Generated by (magic number): 80004
GregFe0639282017-12-21 10:55:57 -07005// Id's are bound by 165
John Kessenichcb421ef2017-11-16 15:02:06 -07006
7 Capability Shader
8 1: ExtInstImport "GLSL.std.450"
9 MemoryModel Logical GLSL450
John Kessenichdc005fb2017-11-16 16:03:18 -070010 EntryPoint Vertex 4 "main" 83 86
John Kessenichcb421ef2017-11-16 15:02:06 -070011 Source HLSL 500
12 Name 4 "main"
John Kessenichdc005fb2017-11-16 16:03:18 -070013 Name 83 "pos"
14 Name 86 "@entryPointOutput"
John Kessenichdc005fb2017-11-16 16:03:18 -070015 Decorate 83(pos) Location 0
16 Decorate 86(@entryPointOutput) BuiltIn Position
John Kessenichcb421ef2017-11-16 15:02:06 -070017 2: TypeVoid
18 3: TypeFunction 2
19 6: TypeFloat 32
20 7: TypeVector 6(float) 4
John Kessenichdc005fb2017-11-16 16:03:18 -070021 14: TypeVector 6(float) 3
22 15: TypeInt 32 0
23 16: 15(int) Constant 3
24 17: TypeArray 14(fvec3) 16
25 18: TypeVector 6(float) 2
26 19: 15(int) Constant 2
27 20: TypeArray 18(fvec2) 19
28 21: TypeInt 32 1
John Kessenichdc005fb2017-11-16 16:03:18 -070029 25: 21(int) Constant 0
John Kessenichdc005fb2017-11-16 16:03:18 -070030 31: 21(int) Constant 1
31 32: 6(float) Constant 0
32 33: 14(fvec3) ConstantComposite 32 32 32
33 34: TypePointer Function 14(fvec3)
John Kessenichdc005fb2017-11-16 16:03:18 -070034 37: 6(float) Constant 1065353216
35 38: 18(fvec2) ConstantComposite 32 37
36 39: TypePointer Function 18(fvec2)
John Kessenichdc005fb2017-11-16 16:03:18 -070037 54: TypeBool
38 82: TypePointer Input 7(fvec4)
39 83(pos): 82(ptr) Variable Input
40 85: TypePointer Output 7(fvec4)
4186(@entryPointOutput): 85(ptr) Variable Output
GregFe0639282017-12-21 10:55:57 -070042 130: TypePointer Function 17
43 132: TypePointer Function 20
John Kessenichcb421ef2017-11-16 15:02:06 -070044 4(main): 2 Function None 3
45 5: Label
GregFe0639282017-12-21 10:55:57 -070046 133: 132(ptr) Variable Function
47 131: 130(ptr) Variable Function
John Kessenichdc005fb2017-11-16 16:03:18 -070048 84: 7(fvec4) Load 83(pos)
GregFe0639282017-12-21 10:55:57 -070049 136: 34(ptr) AccessChain 131 25
50 Store 136 33
51 137: 39(ptr) AccessChain 133 25
52 Store 137 38
John Kessenichdc005fb2017-11-16 16:03:18 -070053 Branch 100
54 100: Label
David Netod1232992018-01-31 16:01:55 -050055 164: 21(int) Phi 25 5 119 106
GregFe0639282017-12-21 10:55:57 -070056 105: 54(bool) SLessThan 164 31
David Netod1232992018-01-31 16:01:55 -050057 LoopMerge 101 106 None
John Kessenichdc005fb2017-11-16 16:03:18 -070058 BranchConditional 105 106 101
59 106: Label
GregFe0639282017-12-21 10:55:57 -070060 138: 39(ptr) AccessChain 133 164
61 110: 18(fvec2) Load 138
62 139: 34(ptr) AccessChain 131 164
63 112: 14(fvec3) Load 139
John Kessenichdc005fb2017-11-16 16:03:18 -070064 113: 18(fvec2) VectorShuffle 112 112 0 1
65 114: 18(fvec2) FAdd 113 110
GregFe0639282017-12-21 10:55:57 -070066 140: 34(ptr) AccessChain 131 164
67 116: 14(fvec3) Load 140
John Kessenichdc005fb2017-11-16 16:03:18 -070068 117: 14(fvec3) VectorShuffle 116 114 3 4 2
GregFe0639282017-12-21 10:55:57 -070069 Store 140 117
GregFe0639282017-12-21 10:55:57 -070070 119: 21(int) IAdd 164 31
John Kessenichdc005fb2017-11-16 16:03:18 -070071 Branch 100
72 101: Label
GregFe0639282017-12-21 10:55:57 -070073 142: 17 Load 131
74 161: 14(fvec3) CompositeExtract 142 0
75 124: 6(float) CompositeExtract 161 0
76 125: 6(float) CompositeExtract 161 1
77 126: 6(float) CompositeExtract 161 2
John Kessenichdc005fb2017-11-16 16:03:18 -070078 127: 7(fvec4) CompositeConstruct 124 125 126 32
79 128: 7(fvec4) FAdd 84 127
80 Store 86(@entryPointOutput) 128
John Kessenichcb421ef2017-11-16 15:02:06 -070081 Return
82 FunctionEnd