SPIRV-Tools/test
Ehsan Nasiri 6fa6a3f647 Adding validation for OpSpecConstantComposite.
SpecConstantComposite may specialize to a vector, matrix, array, or
struct. In each case, the number of components and type of components
that are being specialized to must match the expected result type.

Removed use of macros in these tests.
Now using the spvValidateBase class. Using CompileSuccessfully(), and
ValidateInstructions() to compile to binary and run the validator. Also
using getDiagnosticString() to check the proper error message string.
All the heavy lifting is done in ValidateBase class.
2016-11-19 15:47:28 -05:00
..
opt Make friendly number-based names for OpConstant 2016-11-15 14:05:03 -05:00
val Adding validation for OpSpecConstantComposite. 2016-11-19 15:47:28 -05:00
assembly_context_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
assembly_format_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
binary_destroy_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
binary_endianness_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
binary_header_get_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
binary_parse_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
binary_to_text_test.cpp Make friendly number-based names for OpConstant 2016-11-15 14:05:03 -05:00
binary_to_text.literal_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
c_interface_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
capability_set_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
CMakeLists.txt Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
comment_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
cpp_interface_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
diagnostic_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
ext_inst.glsl_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
ext_inst.opencl_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
fix_word_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
generator_magic_number_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
hex_float_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
immediate_int_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
libspirv_macros_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
log_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
name_mapper_test.cpp Make friendly number-based names for OpConstant 2016-11-15 14:05:03 -05:00
named_id_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
opcode_make_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
opcode_require_capabilities_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
opcode_split_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
opcode_table_get_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
operand_capabilities_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
operand_pattern_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
operand_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
operand-class-test-coverage.csv Fix operand class test coverage table. 2016-09-23 11:58:25 -04:00
parse_number_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
software_version_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
target_env_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
test_fixture.h Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_advance_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_destroy_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_literal_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_start_new_inst_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.annotation_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.barrier_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.constant_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.control_flow_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.debug_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.device_side_enqueue_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.extension_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.function_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.group_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.image_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.literal_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.memory_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.misc_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.mode_setting_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.pipe_storage_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.subgroup_dispatch_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_to_binary.type_declaration_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
text_word_get_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
unit_spirv.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
unit_spirv.h Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00