SPIRV-Tools/source
Ehsan Nasiri 3c8bc80e3a Adding validation code for OpSwitch limits
The number of (literal, label) pairs passed to OpSwitch may not exceed
16,383. Added code to validate this and added unit tests for it.

Also fixed a typo in another validor error message.
2016-11-30 15:36:05 -05:00
..
opt Add begin() and end() for TypeManager. 2016-09-30 16:56:42 -04:00
util Guard against nullptr in number parsing utilities 2016-09-13 12:12:31 -04:00
val Checks that result IDs are within the ID bound specified in the SPIR-V header 2016-11-28 11:44:10 -05:00
assembly_grammar.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
assembly_grammar.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
binary.cpp Clean up header dependency. 2016-09-22 18:15:23 -04:00
binary.h Clean up header dependency. 2016-09-22 18:15:23 -04:00
CMakeLists.txt Extract EmitNumericLiteral from disassembler 2016-11-15 14:05:03 -05:00
diagnostic.cpp Publish the C++ interface. 2016-09-21 14:41:47 -04:00
diagnostic.h Clean up header dependency. 2016-09-22 18:15:23 -04:00
disassemble.cpp Extract EmitNumericLiteral from disassembler 2016-11-15 14:05:03 -05:00
enum_set.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
enum_set.h enum_set: Fix bool performance warning. 2016-10-27 16:09:06 -04:00
ext_inst.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
ext_inst.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
extinst-1.0.opencl.std.grammar.json Fix OpenCL pow and pown arguments 2016-06-14 12:14:38 -04:00
instruction.h Remove source/instruction.cpp 2016-11-03 11:40:52 -04:00
libspirv.cpp Clean up header dependency. 2016-09-22 18:15:23 -04:00
macro.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
message.cpp Avoid appending EOL in StringifyMessage(). 2016-09-23 15:13:24 -04:00
message.h Clean up header dependency. 2016-09-22 18:15:23 -04:00
name_mapper.cpp Make friendly number-based names for OpConstant 2016-11-15 14:05:03 -05:00
name_mapper.h Make friendly number-based names for OpConstant 2016-11-15 14:05:03 -05:00
opcode.cpp Fix validator: OpUndef can be member of a constant composite 2016-09-14 15:21:09 -04:00
opcode.h Fix validator: OpUndef can be member of a constant composite 2016-09-14 15:21:09 -04:00
operand.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
operand.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
parsed_operand.cpp Extract EmitNumericLiteral from disassembler 2016-11-15 14:05:03 -05:00
parsed_operand.h Extract EmitNumericLiteral from disassembler 2016-11-15 14:05:03 -05:00
print.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
print.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
software_version.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
spirv_constant.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
spirv_definition.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
spirv_endian.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
spirv_endian.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
spirv_target_env.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
spirv_target_env.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
table.cpp Clean up header dependency. 2016-09-22 18:15:23 -04:00
table.h Clean up header dependency. 2016-09-22 18:15:23 -04:00
text_handler.cpp Pull out the number parsing logic 2016-09-08 18:42:54 -04:00
text_handler.h Add a callback mechanism for communicating messages to callers. 2016-09-15 12:35:48 -04:00
text.cpp Add a callback mechanism for communicating messages to callers. 2016-09-15 12:35:48 -04:00
text.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
validate_cfg.cpp Adding validation code for OpSwitch limits 2016-11-30 15:36:05 -05:00
validate_datarules.cpp Adding validation code for OpTypeStruct. 2016-11-16 16:41:56 -05:00
validate_id.cpp Validation for OpSampledImage instruction. 2016-11-24 09:29:10 -05:00
validate_instruction.cpp Adding validation code for OpSwitch limits 2016-11-30 15:36:05 -05:00
validate_layout.cpp Rename validation source files to comply with Google style guide. 2016-11-08 17:19:56 -08:00
validate.cpp Checks that result IDs are within the ID bound specified in the SPIR-V header 2016-11-28 11:44:10 -05:00
validate.h Adding validation for vector data rule. 2016-11-08 17:48:30 -05:00