Move to newer version of SPIRV-Tools

* Update tests according to spirv-opt update

We refactored function inlining pass of spirv-opt and it results in
different numbering of result ids in SPIR-V code. This commit updates
test cases to avoid a test failure according to the spirv-opt update.

* Update known good
This commit is contained in:
Jaebaek Seo 2020-05-14 13:06:05 -04:00 committed by GitHub
parent 4fa68edd68
commit 08a05bc2b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 111 additions and 111 deletions

View file

@ -1,7 +1,7 @@
hlsl.flattenOpaque.frag
// Module Version 10000
// Generated by (magic number): 80008
// Id's are bound by 185
// Id's are bound by 190
Capability Shader
1: ExtInstImport "GLSL.std.450"
@ -45,25 +45,25 @@ hlsl.flattenOpaque.frag
120(@entryPointOutput): 119(ptr) Variable Output
4(main): 2 Function None 3
5: Label
134: 6 Load 82(s.s2D)
158: 22 Load 38(tex)
161: 45 SampledImage 158 134
162: 10(fvec4) ImageSampleImplicitLod 161 49
138: 6 Load 82(s.s2D)
164: 22 Load 38(tex)
167: 45 SampledImage 164 138
169: 10(fvec4) ImageSampleImplicitLod 167 49
142: 10(fvec4) FAdd 162 169
143: 6 Load 97(s2.s2D)
145: 22 Load 100(s2.tex)
175: 45 SampledImage 145 143
176: 10(fvec4) ImageSampleImplicitLod 175 49
149: 10(fvec4) FAdd 142 176
150: 6 Load 97(s2.s2D)
152: 22 Load 100(s2.tex)
182: 45 SampledImage 152 150
184: 10(fvec4) ImageSampleImplicitLod 182 49
156: 10(fvec4) FAdd 149 184
Store 120(@entryPointOutput) 156
135: 6 Load 82(s.s2D)
160: 22 Load 38(tex)
163: 45 SampledImage 160 135
164: 10(fvec4) ImageSampleImplicitLod 163 49
139: 6 Load 82(s.s2D)
167: 22 Load 38(tex)
170: 45 SampledImage 167 139
172: 10(fvec4) ImageSampleImplicitLod 170 49
143: 10(fvec4) FAdd 164 172
144: 6 Load 97(s2.s2D)
146: 22 Load 100(s2.tex)
179: 45 SampledImage 146 144
180: 10(fvec4) ImageSampleImplicitLod 179 49
150: 10(fvec4) FAdd 143 180
151: 6 Load 97(s2.s2D)
153: 22 Load 100(s2.tex)
187: 45 SampledImage 153 151
189: 10(fvec4) ImageSampleImplicitLod 187 49
157: 10(fvec4) FAdd 150 189
Store 120(@entryPointOutput) 157
Return
FunctionEnd