SPIRV-Tools/tools
Steven Perron 75c1bf2843
Add option for the max id bound. (#1870)
* Create a new entry point for the optimizer

Creates a new struct to hold the options for the optimizer, and creates
an entry point that take the optimizer options as a parameter.

The old entry point that takes validator options are now deprecated.
The validator options will be one of the optimizer options.

Part of the optimizer options will also be the upper bound on the id bound.

* Add a command line option to set the max value for the id bound.  The default is 0x3FFFFF.

* Modify `TakeNextIdBound` to return 0 when the limit is reached.
2018-09-10 11:49:41 -04:00
..
as spirv-as: Fix error in help text. 2018-08-22 08:12:07 -06:00
cfg Cleanup includes. (#1795) 2018-08-03 15:06:09 -04:00
comp Use MakeUnique. (#1837) 2018-08-14 15:01:50 -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 Add option for the max id bound. (#1870) 2018-09-10 11:49:41 -04:00
stats Remove unused stats maps and parameters (#1828) 2018-08-13 16:45:39 -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 Move spirv_stats into tools/stats. (#1826) 2018-08-13 11:48:25 -04:00
io.h Rewrite include guards (#1793) 2018-08-03 08:05:33 -04:00