Test capabilities for enums sections 3.21-3.31
authorDavid Neto <dneto@google.com>
Mon, 5 Oct 2015 13:55:23 +0000 (09:55 -0400)
committerDavid Neto <dneto@google.com>
Mon, 26 Oct 2015 16:55:33 +0000 (12:55 -0400)
commit1b9d70a31763be4c364be517a92b4d76cee256aa
treece10c081a8c46bae1af26dbaedbbebb7e22027d9
parentddda85a5c519a8d9148cb153f73fb0316978b1fb
Test capabilities for enums sections 3.21-3.31

Fixes dependencies among capabilities.  (The table should store
the mask of capabilites, not the capability enum.)

Remove the old spot check test for capabilities of enums.
include/libspirv/libspirv.h
source/operand.cpp
test/OpcodeRequiresCapabilities.cpp
test/OperandCapabilities.cpp