Support strings with up to 65535 chars, and null.
authorDavid Neto <dneto@google.com>
Tue, 6 Oct 2015 20:22:00 +0000 (16:22 -0400)
committerDavid Neto <dneto@google.com>
Mon, 26 Oct 2015 16:55:33 +0000 (12:55 -0400)
commitb5dc8fcd5d1276d342c7dfc4452f46609b0cab7d
treed9e5cc595cafb9408ea6d4e27f3773f5401636d6
parentee5104286f317f390598859e17c24f061e51be78
Support strings with up to 65535 chars, and null.

Move the definition of spv_instruction_t to an internal
header file, since it now depends on C++ and is not
used by the external interface.

Use a std::vector<uint32_t> in spv_instruction_t
instead of a fixed size array.
19 files changed:
CMakeLists.txt
include/libspirv/libspirv.h
source/binary.cpp
source/binary.h
source/instruction.h [new file with mode: 0644]
source/opcode.cpp
source/opcode.h
source/text.cpp
source/text.h
source/text_handler.cpp
source/text_handler.h
source/validate.cpp
source/validate.h
source/validate_id.cpp
test/AssemblyContext.cpp [new file with mode: 0644]
test/TestFixture.h
test/TextLiteral.cpp
test/TextToBinary.Literal.cpp
test/UnitSPIRV.h