John Kessenich
56364b6b60
Copyright update, mostly to trigger bots again.
2020-03-01 04:51:40 -07:00
John Kessenich
9606a5cb99
Fix #1461 : set the SPIRV-Tools' optimizer's target environment.
2020-02-28 07:10:59 -07:00
John Kessenich
c3bb5d6914
Update to latest SPIRV-Tools, supporting Vulkan 1.2.
2020-01-15 09:35:48 -07:00
John Kessenich
273d3a5093
SPV/Vulkan: Add support for Vulkan 1.2, which defaults to SPIR-V 1.5.
2020-01-15 00:10:41 -07:00
Greg Fischer
b44dac1968
Update spirv-tools known good.
2019-10-24 10:37:01 -06:00
Jeff Bolz
fd556e32b3
Use spvValidatorOptionsSetBeforeHlslLegalization for pre-legalized HLSL
2019-06-07 14:42:08 -05:00
John Kessenich
b64952eddd
SPV 1.4: Move to 1.4 validation, removing all 1.4 validation failures.
2019-05-10 00:02:45 -06:00
Panagiotis Christopoulos Charitos
35aeb042a2
Avoid running the validator as part of the optimization pass.
...
The spvtools::Optimizer::Run method glslang is using constructs a default set
of spvtools::OptimizerOptions. This default set of options instructs the
validator to run. That is not quite correct since glslang will invoke the
validator _explicitly_ after the optimization pass.
Change-Id: I30f458304c6e7f81e89fc4ebd25eabbbd8348063
2019-03-18 11:34:17 +01:00
Greg Fischer
5620a2f95e
Add passes to legalization to preserve source line info when generated.
2018-12-16 13:13:46 -07:00
Rémi Verschelde
ebfd91a719
Remove Unix executable permission from text files
2018-12-10 10:49:16 +01:00
Alan Baker
440f95b1e7
Update known good SPIRV tools and headers
...
* Fixes use of optimizer
* Updated test outputs
* GeometryStreams and TransformFeedback no longer fail validation
2018-11-26 11:24:22 -05:00
GregF
68fbda9862
Add DeadBranchElim before MergeReturn in legalization.
...
MergeReturn now requires this or could throw an error.
2018-11-08 10:35:45 -07:00
Dan Sinclair
70f13b2ed5
Fixup unused parameter warnings
...
This CL removes the current parameters which are unused in order to
fixup the issued clang warnings.
2018-10-24 09:54:48 -04:00
Denis Zdorovtsov
949344f081
Update SpvTools.cpp
...
Fix build.
2018-08-31 17:36:15 +03:00
John Kessenich
4e11b615db
SPV: Turn off the default validation done by the SPIRV-Tools optimizer.
...
Also use the glslang namespace qualifier consistently and validate after
legalization, not before. (But most tests don't legalize.)
2018-08-30 16:59:13 -06:00
John Kessenich
717c80a9de
SPV: Isolate SPIRV-tools glue to its own file.
2018-08-23 15:17:10 -06:00