Initial capability implementation and unit tests
authorUmar Arshad <umar@arrayfire.com>
Sat, 23 Jan 2016 19:14:32 +0000 (14:14 -0500)
committerUmar Arshad <umar@arrayfire.com>
Wed, 27 Jan 2016 13:37:23 +0000 (08:37 -0500)
commit61a627586b7f47d39b0e19caabc9bd880aa3832a
treeee863c35d075a784e7f71c539ec8f55854b08e36
parent3fade33c06a0740bf719473956745bfcb25b9c1a
Initial capability implementation and unit tests

* Register capabilility and checks
* Add validate storage class capabilities checks and tests
* Instruction pass refactor
  - More generic form of capability checking by checking operands
    instead of instructions
* Execution Model capabilities checks
* Decorate BuiltIn capability checks
* Addressing Model capability checks
* Memory Model capability checks
* Execution Mode capability checks
* Dim capability checks
* SamplerAddressingMode capability checks
CMakeLists.txt
include/libspirv/libspirv.h
source/validate.h
source/validate_instruction.cpp
source/validate_types.cpp
test/Validate.Capability.cpp [new file with mode: 0644]
test/ValidateFixtures.cpp