SPIRV-Tools/include/spirv-tools
Steven Perron af430ec822 Add pass to fold a load feeding an extract.
We have already disabled common uniform elimination because it created
sequences of loads an entire uniform object, then we extract just a
single element.  This caused problems in some drivers, and is just
generally slow because it loads more memory than needed.

However, there are other way to get into this situation, so I've added
a pass that looks specifically for this pattern and removes it when only
a portion of the load is used.

Fixes #1547.
2018-05-14 15:40:34 -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 pass to fold a load feeding an extract. 2018-05-14 15:40:34 -04:00