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.flattenOpaqueInit.vert
// Module Version 10000
// Generated by (magic number): 80008
// Id's are bound by 134
// Id's are bound by 139
Capability Shader
1: ExtInstImport "GLSL.std.450"
@ -37,18 +37,18 @@ hlsl.flattenOpaqueInit.vert
80(@entryPointOutput): 79(ptr) Variable Output
4(main): 2 Function None 3
5: Label
90: 6 Load 43(g_tInputTexture_sampler)
91: 8 Load 47(g_tInputTexture)
111: 31 SampledImage 91 90
112: 11(fvec4) ImageSampleExplicitLod 111 36 Lod 37
115: 6 Load 43(g_tInputTexture_sampler)
117: 8 Load 47(g_tInputTexture)
125: 31 SampledImage 117 115
126: 11(fvec4) ImageSampleExplicitLod 125 36 Lod 37
99: 11(fvec4) FAdd 112 126
132: 31 SampledImage 91 90
133: 11(fvec4) ImageSampleExplicitLod 132 36 Lod 37
104: 11(fvec4) FAdd 99 133
Store 80(@entryPointOutput) 104
91: 6 Load 43(g_tInputTexture_sampler)
92: 8 Load 47(g_tInputTexture)
113: 31 SampledImage 92 91
114: 11(fvec4) ImageSampleExplicitLod 113 36 Lod 37
118: 6 Load 43(g_tInputTexture_sampler)
120: 8 Load 47(g_tInputTexture)
129: 31 SampledImage 120 118
130: 11(fvec4) ImageSampleExplicitLod 129 36 Lod 37
100: 11(fvec4) FAdd 114 130
137: 31 SampledImage 92 91
138: 11(fvec4) ImageSampleExplicitLod 137 36 Lod 37
105: 11(fvec4) FAdd 100 138
Store 80(@entryPointOutput) 105
Return
FunctionEnd