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
8 changed files with 111 additions and 111 deletions

View File

@@ -1,7 +1,7 @@
hlsl.pp.line4.frag
// Module Version 10000
// Generated by (magic number): 80008
// Id's are bound by 115
// Id's are bound by 116
Capability Shader
2: ExtInstImport "GLSL.std.450"
@@ -117,30 +117,30 @@ PS_OUTPUT MainPs ( PS_INPUT i )
Line 17 25 0
71: 8(fvec2) Load 70(i.vTextureCoords)
Line 17 29 0
82: 24(ptr) AccessChain 21 23
83: 18(int) Load 82
84: 27(bool) INotEqual 83 28
SelectionMerge 85 None
BranchConditional 84 86 87
83: 24(ptr) AccessChain 21 23
84: 18(int) Load 83
85: 27(bool) INotEqual 84 28
SelectionMerge 92 None
BranchConditional 85 86 89
86: Label
Line 32 1 0
88: 24(ptr) AccessChain 21 35
89: 18(int) Load 88
Branch 85
87: Label
87: 24(ptr) AccessChain 21 35
88: 18(int) Load 87
Branch 92
89: Label
Line 17 32 0
90: 24(ptr) AccessChain 21 39
91: 18(int) Load 90
Branch 85
85: Label
114: 18(int) Phi 89 86 91 87
Branch 92
92: Label
115: 18(int) Phi 88 86 91 89
Line 17 33 0
93: 50(ptr) AccessChain 48(g_tColor) 114
94: 44 Load 93
95: 53 Load 55(g_sAniso)
96: 57 SampledImage 94 95
99: 11(fvec4) ImageSampleImplicitLod 96 71
94: 50(ptr) AccessChain 48(g_tColor) 115
95: 44 Load 94
96: 53 Load 55(g_sAniso)
97: 57 SampledImage 95 96
100: 11(fvec4) ImageSampleImplicitLod 97 71
Line 17 25 0
Store 74(@entryPointOutput.vColor) 99
Store 74(@entryPointOutput.vColor) 100
Return
FunctionEnd