diff options
author | Andrey Tuganov <andreyt@google.com> | 2018-01-31 16:29:54 -0500 |
---|---|---|
committer | David Neto <dneto@google.com> | 2018-02-05 13:14:55 -0500 |
commit | 12e6860d073bfa5a88f7925b58d52450811144a5 (patch) | |
tree | a8ba89c1c9b73f2df31464e7b939bd84d0e6ad80 /source/validate.h | |
parent | 3ef4bb600f2ac09fda73671617e7793b5891afea (diff) | |
download | spirv-tools-12e6860d073bfa5a88f7925b58d52450811144a5.tar.gz |
Add barrier instructions validation pass
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 5871b2f2..d0539432 100644 --- a/source/validate.h +++ b/source/validate.h @@ -155,6 +155,10 @@ spv_result_t ImagePass(ValidationState_t& _, spv_result_t AtomicsPass(ValidationState_t& _, const spv_parsed_instruction_t* inst); +/// Validates correctness of barrier instructions. +spv_result_t BarriersPass(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); |