SPIRV-Tools/include/spirv-tools
Arseny Kapoulkine f765d16bd9 Add external interface for creating a pass token
Currently it's impossible for external code to register a pass because
the only source file that can create pass tokens is optimizer.cpp. This
makes it hard to add passes that can't be upstreamed since you can't run
them from the usual pass sequence without reimplementing Optimizer.

This change adds a PassToken constructor that takes unique_ptr to
opt::Pass; if out-of-tree code implements opt::Pass it can register a
custom pass without having to add it to SPIRV-Tools source code.
2018-05-25 09:19:43 -04:00
..
libspirv.h Fixes #1433. Validate binary version 2018-04-06 22:41:50 -04:00
libspirv.hpp Allow relaxing validation of pointers in logical addressing mode 2018-01-08 10:36:23 -05:00
linker.hpp linker: Allow modules to be partially linked 2018-02-27 12:21:13 -05:00
optimizer.hpp Add external interface for creating a pass token 2018-05-25 09:19:43 -04:00