unplugged-system/external/deqp-deps/SPIRV-Tools/test/diff/diff_files
2025-10-06 13:59:42 +00:00
..
basic_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
basic_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
basic_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
constant_array_size_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
constant_array_size_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
constant_array_size_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
diff_test_files_autogen.cmake Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
different_decorations_fragment_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
different_decorations_fragment_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
different_decorations_fragment_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
different_decorations_vertex_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
different_decorations_vertex_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
different_decorations_vertex_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
different_function_parameter_count_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
different_function_parameter_count_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
different_function_parameter_count_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
extra_if_block_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
extra_if_block_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
extra_if_block_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
generate_tests.py Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
index_signedness_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
index_signedness_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
index_signedness_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
int_vs_uint_constants_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
int_vs_uint_constants_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
int_vs_uint_constants_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
large_functions_large_diffs_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
large_functions_large_diffs_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
large_functions_large_diffs_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
large_functions_small_diffs_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
large_functions_small_diffs_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
large_functions_small_diffs_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
multiple_different_entry_points_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
multiple_different_entry_points_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
multiple_different_entry_points_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
multiple_same_entry_points_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
multiple_same_entry_points_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
multiple_same_entry_points_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpExtInst_in_dst_only_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpExtInst_in_dst_only_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpExtInst_in_dst_only_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpExtInst_in_src_only_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpExtInst_in_src_only_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpExtInst_in_src_only_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_basic_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_basic_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_basic_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_intertwined_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_intertwined_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_intertwined_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_mismatching_class_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_mismatching_class_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_mismatching_class_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_mismatching_type_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_mismatching_type_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_mismatching_type_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_nested_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_nested_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_nested_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_onesided_debug_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_onesided_debug_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
OpTypeForwardPointer_onesided_debug_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
README.md Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
reordered_if_blocks_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
reordered_if_blocks_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
reordered_if_blocks_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
reordered_switch_blocks_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
reordered_switch_blocks_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
reordered_switch_blocks_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
small_functions_small_diffs_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
small_functions_small_diffs_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
small_functions_small_diffs_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
spec_constant_array_size_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
spec_constant_array_size_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
spec_constant_array_size_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
spec_constant_composite_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
spec_constant_composite_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
spec_constant_composite_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
spec_constant_op_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
spec_constant_op_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
spec_constant_op_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
spec_constant_specid_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
spec_constant_specid_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
spec_constant_specid_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
unrelated_shaders_autogen.cpp Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
unrelated_shaders_dst.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00
unrelated_shaders_src.spvasm Initial commit: AOSP 14 with modifications for Unplugged OS 2025-10-06 13:59:42 +00:00

Diff tests

This directory contains files used to ensure correctness of the spirv-diff implementation. The generate_tests.py script takes name_src.spvasm and name_dst.spvasm (for each name) and produces unit test files in the form of name_autogen.cpp.

The unit test files test the diff between the src and dst inputs, as well as between debug-stripped versions of those. Additionally, based on the {variant}_TESTS lists defined in generate_tests.py, extra unit tests are added to exercise different options of spirv-diff.

New tests are added simply by placing a new name_src.spvasm and name_dst.spvasm pair in this directory and running generate_tests.py. Note that this script needs the path to the spirv-diff executable that is built.

The generate_tests.py script additionally expects name_src.spvasm to include a heading where the purpose of the test is explained. This heading is parsed as a block of lines starting with ;; at the top of the file.