Update known good SPIRV tools and headers

* Fixes use of optimizer
* Updated test outputs
 * GeometryStreams and TransformFeedback no longer fail validation
This commit is contained in:
Alan Baker
2018-11-26 11:24:22 -05:00
parent 83fe01e274
commit 440f95b1e7
8 changed files with 3 additions and 27 deletions

View File

@@ -181,7 +181,7 @@ void SpirvToolsLegalize(const glslang::TIntermediate&, std::vector<unsigned int>
optimizer.RegisterPass(spvtools::CreateAggressiveDCEPass());
optimizer.RegisterPass(spvtools::CreateCFGCleanupPass());
optimizer.Run(spirv.data(), spirv.size(), &spirv, spvtools::ValidatorOptions(), true);
optimizer.Run(spirv.data(), spirv.size(), &spirv);
}
}; // end namespace glslang