Refactored validation_state, added new types
authorAndrey Tuganov <andreyt@google.com>
Tue, 28 Feb 2017 16:53:47 +0000 (11:53 -0500)
committerDavid Neto <dneto@google.com>
Tue, 28 Feb 2017 17:23:05 +0000 (12:23 -0500)
commit4ef3b3e0b98d36083cb330c6b386feb51421b811
tree1c63c1d3b600036a1b4c70f2345709fc5acf12f0
parentda4ae05638f72fb399702257a7d6e4cd5cb4dba7
Refactored validation_state, added new types

- validation_state.cpp uses functions from opcode.h instead of in-place
switches which need to be updated.
- added new spirv 1.1 type declaration opcodes to a 'is op type
declaration' switch in opcode.cpp.
source/opcode.cpp
source/val/validation_state.cpp