SPIRV-Tools/include/spirv-tools
Greg Fischer 525bc38062
Add pass to eliminate dead output components (#4982)
This pass eliminates components of output variables that are not stored
to. Currently this just eliminates trailing components of arrays and
structs, all of which are dead.

WARNING: This pass is not designed to be a standalone pass as it can
cause interface incompatibiliies with the following shader in the
pipeline. See the comment in optimizer.hpp for best usage. This pass is
currently available only through the API; it is not available in the CLI.

This commit also fixes a bug in CreateDecoration() which is part of the
system of generating SPIR-V from the Type manager.
2022-11-08 10:45:32 -07:00
..
instrument.hpp Add kInstErrorMax to instrument.hpp (#4315) 2021-06-07 08:06:10 -04:00
libspirv.h spirv-val: Add an option to use friendly names or not (#4951) 2022-09-30 12:22:00 -04:00
libspirv.hpp spirv-val: Add an option to use friendly names or not (#4951) 2022-09-30 12:22:00 -04:00
linker.hpp Rewrite include guards (#1793) 2018-08-03 08:05:33 -04:00
linter.hpp spirv-lint: Add lint based on divergence analysis (#4488) 2021-08-27 14:43:23 -04:00
optimizer.hpp Add pass to eliminate dead output components (#4982) 2022-11-08 10:45:32 -07:00