Update SPIRV-Tools known-good

Update SPIRV-Tools.  Relevant functional changes:
 - Optimizer enhancements:
   - ADCE now removes OpSwitch
   - Block merging occurs in more cases
 - Optimizer fixes:
   - Constant propagation (CCP): support matrix constants
   - #1199: Optimizer: Fix CCP: don't propagate spec constants.
   - #1203: Optimizer: Fix common uniform elim bug introduced by refactoring.
   - #1210: Optimizer: Aggressive dead code elimination: Fix 'break' identification.
   - #1212: Optimizer: Aggressive dead code elimination: Was skipping too many instructions.
   - #1214: Optimizer: Aggressive dead code elimination: Fix infinite loop.
   - #1228: Optimizer: Fix CCP: Handling of varying Phi nodes; was resulting in infinite loop.
   - #1245: Optimizer: Dead branch elimination: Avoid a null pointer dereference.
   - #1250: Optimizer: Dead branch elimination: Avoid spuriously reporting a change.
   - #1262: Support building on VisualStudio 2013 again

Update SPIRV-Headers, with "unified1" directory.

Updated one Glslang legalization test base result due to better block merging.
This commit is contained in:
David Neto
2018-01-31 16:01:55 -05:00
parent b3f9e0a334
commit d123299281
2 changed files with 4 additions and 8 deletions

View File

@@ -52,11 +52,9 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize
Store 137 38
Branch 100
100: Label
164: 21(int) Phi 25 5 119 102
LoopMerge 101 102 None
Branch 103
103: Label
164: 21(int) Phi 25 5 119 106
105: 54(bool) SLessThan 164 31
LoopMerge 101 106 None
BranchConditional 105 106 101
106: Label
138: 39(ptr) AccessChain 133 164
@@ -69,8 +67,6 @@ WARNING: AST will form illegal SPIR-V; need to transform to legalize
116: 14(fvec3) Load 140
117: 14(fvec3) VectorShuffle 116 114 3 4 2
Store 140 117
Branch 102
102: Label
119: 21(int) IAdd 164 31
Branch 100
101: Label