OpExecutionMode only takes a single ExecutionMode
authorDavid Neto <dneto@google.com>
Tue, 29 Mar 2016 18:49:05 +0000 (14:49 -0400)
committerDavid Neto <dneto@google.com>
Tue, 29 Mar 2016 18:51:02 +0000 (14:51 -0400)
commit6836e17f243eebfc4a2950faee49ed3a0015b20b
tree721f8ce29364cd7af1ec468aa85f97df76e03c12
parent452914634e144f94f69abd08431ec360846ae6fb
OpExecutionMode only takes a single ExecutionMode

Previously, the grammar allowed many execution modes for a single
OpExecutionMode instruction.

Removes the variable- and optional- execution mode operand type
enum values.

Issue found by antiagainst@
include/spirv-tools/libspirv.h
source/binary.cpp
source/opcode.cpp
source/operand.cpp
test/OperandPattern.cpp
test/TextToBinary.ModeSetting.cpp