Introducing a new flow for running the Validator.
authorEhsan Nasiri <ehsann@google.com>
Wed, 11 Jan 2017 20:03:53 +0000 (15:03 -0500)
committerDavid Neto <dneto@google.com>
Fri, 13 Jan 2017 21:07:03 +0000 (16:07 -0500)
commit68e36ec7e9da5300b5d183be543162928aee5776
tree959af2d9eeca4178c9877aacc61590530234bf79
parentd5e4f06eecfd36059117142bbb1d73ba3ac517c1
Introducing a new flow for running the Validator.

We are adding a new API which can be called to run the SPIR-V validator,
and retrieve the ValidationState_t object. This is very useful for
unit testing.

I have also added basic unit tests that demonstrate usage of this flow
and ease of use to verify correctness.
source/validate.cpp
source/validate.h
test/val/CMakeLists.txt
test/val/val_fixtures.cpp
test/val/val_fixtures.h
test/val/val_validation_state_test.cpp [new file with mode: 0644]