SPIRV-Tools/include/spirv-tools
Steven Perron 716138ee14 Add option to relax validation of store types.
There are a number of users of spriv-opt that are hitting errors
because of stores with different types.  In general, this is wrong, but,
in these cases, the types are the exact same except for decorations.

The options is "--relax-store-struct", and it can be used with the
validator or the optimizer.

We assume that if layout information is missing it is consistent.  For
example if one struct has a offset of one of its members, and the other
one does not, we will still consider them as being layout compatible.
The problem will be if both struct has and offset decoration for
corresponding members, and the offset are different.
2017-10-28 18:48:21 -04:00
..
libspirv.h Add option to relax validation of store types. 2017-10-28 18:48:21 -04:00
libspirv.hpp Add option to relax validation of store types. 2017-10-28 18:48:21 -04:00
linker.hpp Implement Linker (module combiner) 2017-10-06 18:33:53 -04:00
optimizer.hpp Add pass to remove dead variables at the module level. 2017-10-23 13:57:05 -04:00