Add OpNop, OpUndef tests for spvTextToBinary
authorDavid Neto <dneto@google.com>
Tue, 8 Sep 2015 21:11:40 +0000 (17:11 -0400)
committerDavid Neto <dneto@google.com>
Mon, 26 Oct 2015 16:54:39 +0000 (12:54 -0400)
commitc88dcd6a72472f1b3855c983328c90fc1ac52a3b
treeb06153844ab0160d281aec8d04834cded0b07bd6
parent574352c7a9fdea71c15e101face04386112e4c1b
Add OpNop, OpUndef tests for spvTextToBinary

Add text_fixture::TextToBinaryTestBase::CompiledInstructions,
to more easily just examine the generated instructions by skipping
over the header.

Add spvtest::MakeInstruction utility function to easily generate
a vector containing an opcode and its operands.
CMakeLists.txt
test/TestFixture.h
test/TextToBinary.Miscellaneous.cpp [new file with mode: 0644]
test/UnitSPIRV.h