Update spirv-tools known-good

Includes:

Fold divide and multiply by same value.
Allow ADCE to remove more instructions.
Remove dead Workgroup variables in ADCE.
Fold fclamp feeding compare.
Add pass to fold a load feeding an extract.
Remove redundant stores.
SROA: Only create symbols that are loaded.
Get ADCE to handle OpCopyMemory
Remove the limit on struct size in SROA.
This commit is contained in:
GregF 2018-05-23 18:56:20 -06:00
parent c6d255396f
commit d2b55801b9
2 changed files with 12 additions and 12 deletions

View File

@ -1,7 +1,7 @@
hlsl.partialFlattenLocal.vert
// Module Version 10000
// Generated by (magic number): 80006
// Id's are bound by 169
// Id's are bound by 158
Capability Shader
1: ExtInstImport "GLSL.std.450"
@ -51,29 +51,29 @@ hlsl.partialFlattenLocal.vert
Store 137 38
Branch 100
100: Label
168: 21(int) Phi 25 5 119 106
105: 54(bool) SLessThan 168 31
157: 21(int) Phi 25 5 119 106
105: 54(bool) SLessThan 157 31
LoopMerge 101 106 None
BranchConditional 105 106 101
106: Label
138: 39(ptr) AccessChain 133 168
138: 39(ptr) AccessChain 133 157
110: 18(fvec2) Load 138
139: 34(ptr) AccessChain 131 168
139: 34(ptr) AccessChain 131 157
112: 14(fvec3) Load 139
113: 18(fvec2) VectorShuffle 112 112 0 1
114: 18(fvec2) FAdd 113 110
140: 34(ptr) AccessChain 131 168
140: 34(ptr) AccessChain 131 157
116: 14(fvec3) Load 140
117: 14(fvec3) VectorShuffle 116 114 3 4 2
Store 140 117
119: 21(int) IAdd 168 31
119: 21(int) IAdd 157 31
Branch 100
101: Label
142: 17 Load 131
161: 14(fvec3) CompositeExtract 142 0
124: 6(float) CompositeExtract 161 0
125: 6(float) CompositeExtract 161 1
126: 6(float) CompositeExtract 161 2
156: 14(fvec3) CompositeExtract 142 0
124: 6(float) CompositeExtract 156 0
125: 6(float) CompositeExtract 156 1
126: 6(float) CompositeExtract 156 2
127: 7(fvec4) CompositeConstruct 124 125 126 32
128: 7(fvec4) FAdd 84 127
Store 86(@entryPointOutput) 128

View File

@ -5,7 +5,7 @@
"site" : "github",
"subrepo" : "KhronosGroup/SPIRV-Tools",
"subdir" : "External/spirv-tools",
"commit" : "a00a0a09ae5dab8ef15073ceb40542c162767798"
"commit" : "a579e720a8d7805ec9ebf657a4c6fa67ec268f7e"
},
{
"name" : "spirv-tools/external/spirv-headers",