glslang SPV tests: Add a set of SPV tests.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31212 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
352
Test/baseResults/spv.loopsArtificial.frag.out
Normal file
352
Test/baseResults/spv.loopsArtificial.frag.out
Normal file
@@ -0,0 +1,352 @@
|
||||
spv.loopsArtificial.frag
|
||||
WARNING: 0:14: varying deprecated in version 130; may be removed in future release
|
||||
|
||||
|
||||
|
||||
Linked fragment stage:
|
||||
|
||||
|
||||
|
||||
// Module Version 99
|
||||
// Generated by (magic number): 51a00bb
|
||||
// Id's are bound by 192
|
||||
|
||||
Source GLSL 130
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4
|
||||
Name 4 "main"
|
||||
Name 10 "color"
|
||||
Name 12 "BaseColor"
|
||||
Name 19 "bigColor4"
|
||||
Name 26 "d4"
|
||||
Name 79 "d13"
|
||||
Name 145 "gl_FragColor"
|
||||
Name 147 "bigColor"
|
||||
Name 148 "bigColor1_1"
|
||||
Name 149 "bigColor1_2"
|
||||
Name 150 "bigColor1_3"
|
||||
Name 151 "bigColor2"
|
||||
Name 152 "bigColor3"
|
||||
Name 153 "bigColor5"
|
||||
Name 154 "bigColor6"
|
||||
Name 155 "bigColor7"
|
||||
Name 156 "bigColor8"
|
||||
Name 157 "d"
|
||||
Name 158 "d2"
|
||||
Name 159 "d3"
|
||||
Name 160 "d5"
|
||||
Name 161 "d6"
|
||||
Name 162 "d7"
|
||||
Name 163 "d8"
|
||||
Name 164 "d9"
|
||||
Name 165 "d10"
|
||||
Name 166 "d11"
|
||||
Name 167 "d12"
|
||||
Name 168 "d14"
|
||||
Name 169 "d15"
|
||||
Name 170 "d16"
|
||||
Name 171 "d17"
|
||||
Name 172 "d18"
|
||||
Name 173 "d19"
|
||||
Name 174 "d20"
|
||||
Name 175 "d21"
|
||||
Name 176 "d22"
|
||||
Name 177 "d23"
|
||||
Name 178 "d24"
|
||||
Name 179 "d25"
|
||||
Name 180 "d26"
|
||||
Name 181 "d27"
|
||||
Name 182 "d28"
|
||||
Name 183 "d29"
|
||||
Name 184 "d30"
|
||||
Name 185 "d31"
|
||||
Name 186 "d32"
|
||||
Name 187 "d33"
|
||||
Name 188 "d34"
|
||||
Name 191 "Count"
|
||||
Decorate 12(BaseColor) Smooth
|
||||
Decorate 145(gl_FragColor) BuiltIn FragColor
|
||||
Decorate 147(bigColor) NoStaticUse
|
||||
Decorate 148(bigColor1_1) NoStaticUse
|
||||
Decorate 149(bigColor1_2) NoStaticUse
|
||||
Decorate 150(bigColor1_3) NoStaticUse
|
||||
Decorate 151(bigColor2) NoStaticUse
|
||||
Decorate 152(bigColor3) NoStaticUse
|
||||
Decorate 153(bigColor5) NoStaticUse
|
||||
Decorate 154(bigColor6) NoStaticUse
|
||||
Decorate 155(bigColor7) NoStaticUse
|
||||
Decorate 156(bigColor8) NoStaticUse
|
||||
Decorate 157(d) NoStaticUse
|
||||
Decorate 158(d2) NoStaticUse
|
||||
Decorate 159(d3) NoStaticUse
|
||||
Decorate 160(d5) NoStaticUse
|
||||
Decorate 161(d6) NoStaticUse
|
||||
Decorate 162(d7) NoStaticUse
|
||||
Decorate 163(d8) NoStaticUse
|
||||
Decorate 164(d9) NoStaticUse
|
||||
Decorate 165(d10) NoStaticUse
|
||||
Decorate 166(d11) NoStaticUse
|
||||
Decorate 167(d12) NoStaticUse
|
||||
Decorate 168(d14) NoStaticUse
|
||||
Decorate 169(d15) NoStaticUse
|
||||
Decorate 170(d16) NoStaticUse
|
||||
Decorate 171(d17) NoStaticUse
|
||||
Decorate 172(d18) NoStaticUse
|
||||
Decorate 173(d19) NoStaticUse
|
||||
Decorate 174(d20) NoStaticUse
|
||||
Decorate 175(d21) NoStaticUse
|
||||
Decorate 176(d22) NoStaticUse
|
||||
Decorate 177(d23) NoStaticUse
|
||||
Decorate 178(d24) NoStaticUse
|
||||
Decorate 179(d25) NoStaticUse
|
||||
Decorate 180(d26) NoStaticUse
|
||||
Decorate 181(d27) NoStaticUse
|
||||
Decorate 182(d28) NoStaticUse
|
||||
Decorate 183(d29) NoStaticUse
|
||||
Decorate 184(d30) NoStaticUse
|
||||
Decorate 185(d31) NoStaticUse
|
||||
Decorate 186(d32) NoStaticUse
|
||||
Decorate 187(d33) NoStaticUse
|
||||
Decorate 188(d34) NoStaticUse
|
||||
Decorate 191(Count) NoStaticUse
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
7: TypeFloat 32
|
||||
8: TypeVector 7(float) 4
|
||||
9: TypePointer Function 8(fvec4)
|
||||
11: TypePointer Input 8(fvec4)
|
||||
12(BaseColor): 11(ptr) Variable Input
|
||||
18: TypePointer UniformConstant 8(fvec4)
|
||||
19(bigColor4): 18(ptr) Variable UniformConstant
|
||||
25: TypePointer UniformConstant 7(float)
|
||||
26(d4): 25(ptr) Variable UniformConstant
|
||||
28: TypeBool
|
||||
32: 7(float) Constant 1073741824
|
||||
46: 7(float) Constant 1065353216
|
||||
79(d13): 25(ptr) Variable UniformConstant
|
||||
144: TypePointer Output 8(fvec4)
|
||||
145(gl_FragColor): 144(ptr) Variable Output
|
||||
147(bigColor): 18(ptr) Variable UniformConstant
|
||||
148(bigColor1_1): 18(ptr) Variable UniformConstant
|
||||
149(bigColor1_2): 18(ptr) Variable UniformConstant
|
||||
150(bigColor1_3): 18(ptr) Variable UniformConstant
|
||||
151(bigColor2): 18(ptr) Variable UniformConstant
|
||||
152(bigColor3): 18(ptr) Variable UniformConstant
|
||||
153(bigColor5): 18(ptr) Variable UniformConstant
|
||||
154(bigColor6): 18(ptr) Variable UniformConstant
|
||||
155(bigColor7): 18(ptr) Variable UniformConstant
|
||||
156(bigColor8): 18(ptr) Variable UniformConstant
|
||||
157(d): 25(ptr) Variable UniformConstant
|
||||
158(d2): 25(ptr) Variable UniformConstant
|
||||
159(d3): 25(ptr) Variable UniformConstant
|
||||
160(d5): 25(ptr) Variable UniformConstant
|
||||
161(d6): 25(ptr) Variable UniformConstant
|
||||
162(d7): 25(ptr) Variable UniformConstant
|
||||
163(d8): 25(ptr) Variable UniformConstant
|
||||
164(d9): 25(ptr) Variable UniformConstant
|
||||
165(d10): 25(ptr) Variable UniformConstant
|
||||
166(d11): 25(ptr) Variable UniformConstant
|
||||
167(d12): 25(ptr) Variable UniformConstant
|
||||
168(d14): 25(ptr) Variable UniformConstant
|
||||
169(d15): 25(ptr) Variable UniformConstant
|
||||
170(d16): 25(ptr) Variable UniformConstant
|
||||
171(d17): 25(ptr) Variable UniformConstant
|
||||
172(d18): 25(ptr) Variable UniformConstant
|
||||
173(d19): 25(ptr) Variable UniformConstant
|
||||
174(d20): 25(ptr) Variable UniformConstant
|
||||
175(d21): 25(ptr) Variable UniformConstant
|
||||
176(d22): 25(ptr) Variable UniformConstant
|
||||
177(d23): 25(ptr) Variable UniformConstant
|
||||
178(d24): 25(ptr) Variable UniformConstant
|
||||
179(d25): 25(ptr) Variable UniformConstant
|
||||
180(d26): 25(ptr) Variable UniformConstant
|
||||
181(d27): 25(ptr) Variable UniformConstant
|
||||
182(d28): 25(ptr) Variable UniformConstant
|
||||
183(d29): 25(ptr) Variable UniformConstant
|
||||
184(d30): 25(ptr) Variable UniformConstant
|
||||
185(d31): 25(ptr) Variable UniformConstant
|
||||
186(d32): 25(ptr) Variable UniformConstant
|
||||
187(d33): 25(ptr) Variable UniformConstant
|
||||
188(d34): 25(ptr) Variable UniformConstant
|
||||
189: TypeInt 32 1
|
||||
190: TypePointer UniformConstant 189(int)
|
||||
191(Count): 190(ptr) Variable UniformConstant
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
10(color): 9(ptr) Variable Function
|
||||
13: 8(fvec4) Load 12(BaseColor)
|
||||
Store 10(color) 13
|
||||
Branch 14
|
||||
14: Label
|
||||
LoopMerge 15 None
|
||||
Branch 16
|
||||
16: Label
|
||||
20: 8(fvec4) Load 19(bigColor4)
|
||||
21: 8(fvec4) Load 10(color)
|
||||
22: 8(fvec4) FAdd 21 20
|
||||
Store 10(color) 22
|
||||
23: 8(fvec4) Load 10(color)
|
||||
24: 7(float) CompositeExtract 23 0
|
||||
27: 7(float) Load 26(d4)
|
||||
29: 28(bool) FOrdLessThan 24 27
|
||||
SelectionMerge 31 None
|
||||
BranchConditional 29 30 31
|
||||
30: Label
|
||||
33: 8(fvec4) Load 10(color)
|
||||
34: 7(float) CompositeExtract 33 2
|
||||
35: 7(float) FAdd 34 32
|
||||
36: 8(fvec4) Load 10(color)
|
||||
37: 8(fvec4) CompositeInsert 35 36 2
|
||||
Store 10(color) 37
|
||||
38: 8(fvec4) Load 10(color)
|
||||
39: 7(float) CompositeExtract 38 2
|
||||
40: 7(float) Load 26(d4)
|
||||
41: 28(bool) FOrdLessThan 39 40
|
||||
SelectionMerge 43 None
|
||||
BranchConditional 41 42 43
|
||||
42: Label
|
||||
44: 8(fvec4) Load 10(color)
|
||||
45: 7(float) CompositeExtract 44 0
|
||||
47: 7(float) FAdd 45 46
|
||||
48: 8(fvec4) Load 10(color)
|
||||
49: 8(fvec4) CompositeInsert 47 48 0
|
||||
Store 10(color) 49
|
||||
Branch 17
|
||||
43: Label
|
||||
Branch 31
|
||||
31: Label
|
||||
51: 8(fvec4) Load 10(color)
|
||||
52: 7(float) CompositeExtract 51 1
|
||||
53: 7(float) Load 26(d4)
|
||||
54: 28(bool) FOrdLessThan 52 53
|
||||
SelectionMerge 56 None
|
||||
BranchConditional 54 55 63
|
||||
55: Label
|
||||
57: 7(float) Load 26(d4)
|
||||
58: 8(fvec4) Load 10(color)
|
||||
59: 7(float) CompositeExtract 58 1
|
||||
60: 7(float) FAdd 59 57
|
||||
61: 8(fvec4) Load 10(color)
|
||||
62: 8(fvec4) CompositeInsert 60 61 1
|
||||
Store 10(color) 62
|
||||
Branch 56
|
||||
63: Label
|
||||
64: 7(float) Load 26(d4)
|
||||
65: 8(fvec4) Load 10(color)
|
||||
66: 7(float) CompositeExtract 65 0
|
||||
67: 7(float) FAdd 66 64
|
||||
68: 8(fvec4) Load 10(color)
|
||||
69: 8(fvec4) CompositeInsert 67 68 0
|
||||
Store 10(color) 69
|
||||
Branch 56
|
||||
56: Label
|
||||
Branch 17
|
||||
17: Label
|
||||
70: 8(fvec4) Load 10(color)
|
||||
71: 7(float) CompositeExtract 70 2
|
||||
72: 7(float) Load 26(d4)
|
||||
73: 28(bool) FOrdLessThan 71 72
|
||||
BranchConditional 73 74 15
|
||||
74: Label
|
||||
Branch 14
|
||||
15: Label
|
||||
Branch 75
|
||||
75: Label
|
||||
77: 8(fvec4) Load 10(color)
|
||||
78: 7(float) CompositeExtract 77 3
|
||||
80: 7(float) Load 79(d13)
|
||||
81: 28(bool) FOrdLessThan 78 80
|
||||
LoopMerge 76 None
|
||||
BranchConditional 81 82 76
|
||||
82: Label
|
||||
83: 8(fvec4) Load 10(color)
|
||||
84: 7(float) CompositeExtract 83 2
|
||||
85: 7(float) Load 79(d13)
|
||||
86: 28(bool) FOrdLessThan 84 85
|
||||
SelectionMerge 88 None
|
||||
BranchConditional 86 87 92
|
||||
87: Label
|
||||
89: 8(fvec4) Load 10(color)
|
||||
90: 8(fvec4) CompositeConstruct 46 46 46 46
|
||||
91: 8(fvec4) FAdd 89 90
|
||||
Store 10(color) 91
|
||||
Branch 88
|
||||
92: Label
|
||||
93: 8(fvec4) Load 10(color)
|
||||
94: 8(fvec4) CompositeConstruct 46 46 46 46
|
||||
95: 8(fvec4) FSub 93 94
|
||||
Store 10(color) 95
|
||||
Branch 88
|
||||
88: Label
|
||||
96: 8(fvec4) Load 19(bigColor4)
|
||||
97: 8(fvec4) Load 10(color)
|
||||
98: 8(fvec4) FAdd 97 96
|
||||
Store 10(color) 98
|
||||
99: 8(fvec4) Load 10(color)
|
||||
100: 7(float) CompositeExtract 99 0
|
||||
101: 7(float) Load 26(d4)
|
||||
102: 28(bool) FOrdLessThan 100 101
|
||||
SelectionMerge 104 None
|
||||
BranchConditional 102 103 104
|
||||
103: Label
|
||||
105: 8(fvec4) Load 10(color)
|
||||
106: 7(float) CompositeExtract 105 2
|
||||
107: 7(float) FAdd 106 32
|
||||
108: 8(fvec4) Load 10(color)
|
||||
109: 8(fvec4) CompositeInsert 107 108 2
|
||||
Store 10(color) 109
|
||||
110: 8(fvec4) Load 10(color)
|
||||
111: 7(float) CompositeExtract 110 2
|
||||
112: 7(float) Load 26(d4)
|
||||
113: 28(bool) FOrdLessThan 111 112
|
||||
SelectionMerge 115 None
|
||||
BranchConditional 113 114 115
|
||||
114: Label
|
||||
116: 8(fvec4) Load 10(color)
|
||||
117: 7(float) CompositeExtract 116 0
|
||||
118: 7(float) FAdd 117 46
|
||||
119: 8(fvec4) Load 10(color)
|
||||
120: 8(fvec4) CompositeInsert 118 119 0
|
||||
Store 10(color) 120
|
||||
Branch 75
|
||||
115: Label
|
||||
Branch 104
|
||||
104: Label
|
||||
122: 8(fvec4) Load 10(color)
|
||||
123: 7(float) CompositeExtract 122 1
|
||||
124: 7(float) Load 26(d4)
|
||||
125: 28(bool) FOrdLessThan 123 124
|
||||
SelectionMerge 127 None
|
||||
BranchConditional 125 126 134
|
||||
126: Label
|
||||
128: 7(float) Load 26(d4)
|
||||
129: 8(fvec4) Load 10(color)
|
||||
130: 7(float) CompositeExtract 129 1
|
||||
131: 7(float) FAdd 130 128
|
||||
132: 8(fvec4) Load 10(color)
|
||||
133: 8(fvec4) CompositeInsert 131 132 1
|
||||
Store 10(color) 133
|
||||
Branch 127
|
||||
134: Label
|
||||
135: 7(float) Load 26(d4)
|
||||
136: 8(fvec4) Load 10(color)
|
||||
137: 7(float) CompositeExtract 136 0
|
||||
138: 7(float) FAdd 137 135
|
||||
139: 8(fvec4) Load 10(color)
|
||||
140: 8(fvec4) CompositeInsert 138 139 0
|
||||
Store 10(color) 140
|
||||
Branch 127
|
||||
127: Label
|
||||
Branch 75
|
||||
76: Label
|
||||
141: 8(fvec4) Load 10(color)
|
||||
142: 8(fvec4) CompositeConstruct 46 46 46 46
|
||||
143: 8(fvec4) FAdd 141 142
|
||||
Store 10(color) 143
|
||||
146: 8(fvec4) Load 10(color)
|
||||
Store 145(gl_FragColor) 146
|
||||
Branch 6
|
||||
6: Label
|
||||
Return
|
||||
FunctionEnd
|
||||
Reference in New Issue
Block a user