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.flattenOpaqueInitMix.vert
// Module Version 10000
// Generated by (magic number): 80008
// Id's are bound by 97
// Id's are bound by 99
Capability Shader
1: ExtInstImport "GLSL.std.450"
@ -33,13 +33,13 @@ hlsl.flattenOpaqueInitMix.vert
49: 7(float) Constant 1056964608
56: TypePointer Output 11(fvec4)
57(@entryPointOutput): 56(ptr) Variable Output
96: 36(fvec2) ConstantComposite 49 49
98: 36(fvec2) ConstantComposite 49 49
4(main): 2 Function None 3
5: Label
63: 6 Load 44(g_tInputTexture_sampler)
64: 8 Load 47(g_tInputTexture)
73: 28 SampledImage 64 63
79: 11(fvec4) ImageSampleExplicitLod 73 96 Lod 38
Store 57(@entryPointOutput) 79
64: 6 Load 44(g_tInputTexture_sampler)
65: 8 Load 47(g_tInputTexture)
75: 28 SampledImage 65 64
81: 11(fvec4) ImageSampleExplicitLod 75 98 Lod 38
Store 57(@entryPointOutput) 81
Return
FunctionEnd