SPIRV-Tools/source/val
Ehsan Nasiri 1c11c8690f Validation of OpEntryPoint usage.
According to the SPIRV Spec (2.16.1):
* There is at least one OpEntryPoint instruction, unless the Linkage
capability is being used.

* No function can be targeted by both an OpEntryPoint instruction and an
OpFunctionCall instruction.

Also updated unit tests to includ OpEntryPoint.
2017-01-13 16:15:11 -05:00
..
basic_block.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
basic_block.h Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
construct.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
construct.h Fixes bug #517. 2017-01-06 14:23:17 -05:00
function.cpp Fixes bug #517. 2017-01-06 14:23:17 -05:00
function.h Fixes bug #517. 2017-01-06 14:23:17 -05:00
instruction.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
instruction.h Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
validation_state.cpp Validation for struct nesting depth. 2016-12-07 16:15:56 -05:00
validation_state.h Validation of OpEntryPoint usage. 2017-01-13 16:15:11 -05:00