diff options
author | Jesus Carabano <jcaraban@abo.fi> | 2017-10-18 12:00:02 +0300 |
---|---|---|
committer | David Neto <dneto@google.com> | 2017-12-19 13:19:56 -0500 |
commit | 4dbcef62eeb0083f113d93a633f33fc7ae916305 (patch) | |
tree | ff27ba97909d7819ffc94eeb2c10e802c55235dc /source/validate.h | |
parent | f35963588bd4ae97366244c141d6fe4449b0964a (diff) | |
download | spirv-tools-4dbcef62eeb0083f113d93a633f33fc7ae916305.tar.gz |
validate & test of literal's upper bits
Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/660
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 28412ae9..db0e5f13 100644 --- a/source/validate.h +++ b/source/validate.h @@ -143,6 +143,10 @@ spv_result_t ImagePass(ValidationState_t& _, spv_result_t AtomicsPass(ValidationState_t& _, const spv_parsed_instruction_t* inst); +/// Validates correctness of literal numbers. +spv_result_t LiteralsPass(ValidationState_t& _, + const spv_parsed_instruction_t* inst); + // Validates that capability declarations use operands allowed in the current // context. spv_result_t CapabilityPass(ValidationState_t& _, |