SPIRV-Tools/source/val
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
..
basic_block.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
basic_block.h Add SPIR-V 1.2 support, for OpenCL 2.2 2017-05-15 17:10:07 -04:00
construct.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
construct.h Check strict domination of merge block 2017-02-10 12:26:10 -05:00
decoration.h Check BuiltIn Decoration rules. 2017-01-19 16:01:06 -05:00
function.cpp CFA: Move TraversalRoots and ComputeAugmentedCFG into CFA 2017-05-25 11:43:24 -06:00
function.h Validator checks OpReturn called from void func 2017-10-12 15:32:32 -04:00
instruction.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
instruction.h Stats analyzer aggregates OpConstant usage 2017-05-09 11:50:15 -04:00
validation_state.cpp Turn all function static non-POD variables into global POD variables 2017-10-25 15:44:19 -04:00
validation_state.h Add option to relax validation of store types. 2017-10-28 18:48:21 -04:00