SPIRV-Tools/tools
Steven Perron 5c8b4f5a1c
Validate the input to Optimizer::Run (#1799)
* Run the validator in the optimization fuzzers.

The optimizers assumes that the input to the optimizer is valid.  Since
the fuzzers do not check that the input is valid before passing the
spir-v to the optimizer, we are getting a few errors.

The solution is to run the validator in the optimizer to validate the
input.

For the legalization passes, we need to add an extra option to the
validator to accept certain types of variable pointers, even if the
capability is not given.  At the same time, we changed the option
"--legalize-hlsl" to relax the validator in the same way instead of
turning it off.
2018-08-08 11:16:19 -04:00
..
as Support SPIR-V 1.3 and Vulkan 1.1 2018-03-06 15:17:31 -05:00
cfg Cleanup includes. (#1795) 2018-08-03 15:06:09 -04:00
comp Cleanup includes. (#1795) 2018-08-03 15:06:09 -04:00
dis Support SPIR-V 1.3 and Vulkan 1.1 2018-03-06 15:17:31 -05:00
emacs Define variable to skip installation 2017-07-04 12:24:44 -04:00
lesspipe Define variable to skip installation 2017-07-04 12:24:44 -04:00
link linker: Allow modules to be partially linked 2018-02-27 12:21:13 -05:00
opt Validate the input to Optimizer::Run (#1799) 2018-08-08 11:16:19 -04:00
stats Cleanup includes. (#1795) 2018-08-03 15:06:09 -04:00
util Validate the input to Optimizer::Run (#1799) 2018-08-08 11:16:19 -04:00
val Validate the input to Optimizer::Run (#1799) 2018-08-08 11:16:19 -04:00
CMakeLists.txt Validate the input to Optimizer::Run (#1799) 2018-08-08 11:16:19 -04:00
io.h Rewrite include guards (#1793) 2018-08-03 08:05:33 -04:00