Fix handling of OpExtInstImport
authorDavid Neto <dneto@google.com>
Mon, 9 Nov 2015 23:55:42 +0000 (18:55 -0500)
committerDavid Neto <dneto@google.com>
Tue, 10 Nov 2015 20:58:07 +0000 (15:58 -0500)
commit2ae4a68fe8f459a745cff0f8ec6414807259e723
tree20f821822b1a975e1919e68cf5fd9181421900ed
parent9e545d79680b310451aaa0ccca9a70588a808b64
Fix handling of OpExtInstImport

The assembler tracks mapping of extended instruction import Id
to extended instruction type.

Adds a few new ways to fail.
CMakeLists.txt
include/libspirv/libspirv.h
source/text.cpp
source/text_handler.cpp
source/text_handler.h
test/ExtInst.OpenCL.std.cpp
test/TextToBinary.Extension.cpp [new file with mode: 0644]