diff options
author | Andrey Tuganov <andreyt@google.com> | 2017-12-05 10:15:51 -0500 |
---|---|---|
committer | Lei Zhang <antiagainst@google.com> | 2017-12-05 10:15:51 -0500 |
commit | 94e3e7b8efc20631d04f7c6616fb3b24ae2fcfb1 (patch) | |
tree | 5bd0e56f527f933cb851e82e6c17f3716dd6291f /source/validate.h | |
parent | 3b6c4f159c7c55973b1d6f3ce227d70926a05499 (diff) | |
download | spirv-tools-94e3e7b8efc20631d04f7c6616fb3b24ae2fcfb1.tar.gz |
Add composite instruction validation pass
Validates instructions in the opcode range from OpVectorExtractDynamic
to OpTranspose.
Diffstat (limited to 'source/validate.h')
-rw-r--r-- | source/validate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/validate.h b/source/validate.h index b966cf21..9bd129c1 100644 --- a/source/validate.h +++ b/source/validate.h @@ -115,6 +115,10 @@ spv_result_t TypeUniquePass(ValidationState_t& _, spv_result_t ArithmeticsPass(ValidationState_t& _, const spv_parsed_instruction_t* inst); +/// Validates correctness of composite instructions. +spv_result_t CompositesPass(ValidationState_t& _, + const spv_parsed_instruction_t* inst); + /// Validates correctness of conversion instructions. spv_result_t ConversionPass(ValidationState_t& _, const spv_parsed_instruction_t* inst); |