Validation of mask operand capabilities is more data driven
authorDavid Neto <dneto@google.com>
Tue, 2 Feb 2016 17:12:48 +0000 (12:12 -0500)
committerDavid Neto <dneto@google.com>
Tue, 2 Feb 2016 17:12:48 +0000 (12:12 -0500)
commitadb8725900a4bddc80dfc6892de1f1a8603e888e
tree63e3c6200f148d8486ccc1bd26a2fec76b2904e4
parentb5267569d1d390143fff82000cd2e606d38dfc49
Validation of mask operand capabilities is more data driven

Use spvOperandIsConcreteMask to determine if an operand is
a bitmask.  Check its individual bits in a generic way.
source/validate_instruction.cpp