Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShiyu Liu <jamessliu2020@gmail.com>2021-07-20 13:01:20 +0300
committerGitHub <noreply@github.com>2021-07-20 13:01:20 +0300
commit033768c24bbc72d82fe23f14216e2f5f005a2fb9 (patch)
tree13cc25de8f8b15483aff1b4c70a6da6d54f42ae2 /BUILD.gn
parentf084bcfe2bf94d8d9867e7fd4baed78381539ea1 (diff)
spirv-fuzz: TransformationWrapVectorSynonym that rewrites scalar operations using vectors (#4376)
Adds a new transformation that rewrites a scalar operation (like OpFAdd, opISub) as an equivalent vector operation, adding a synonym between the scalar result and an appropriate component of the vector result. Fixes #4195.
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn4
1 files changed, 4 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 270814f75..791d7a351 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1062,6 +1062,8 @@ if (build_with_chromium) {
"source/fuzz/fuzzer_pass_toggle_access_chain_instruction.h",
"source/fuzz/fuzzer_pass_wrap_regions_in_selections.cpp",
"source/fuzz/fuzzer_pass_wrap_regions_in_selections.h",
+ "source/fuzz/fuzzer_pass_wrap_vector_synonym.cpp",
+ "source/fuzz/fuzzer_pass_wrap_vector_synonym.h",
"source/fuzz/fuzzer_util.cpp",
"source/fuzz/fuzzer_util.h",
"source/fuzz/id_use_descriptor.cpp",
@@ -1272,6 +1274,8 @@ if (build_with_chromium) {
"source/fuzz/transformation_wrap_early_terminator_in_function.h",
"source/fuzz/transformation_wrap_region_in_selection.cpp",
"source/fuzz/transformation_wrap_region_in_selection.h",
+ "source/fuzz/transformation_wrap_vector_synonym.cpp",
+ "source/fuzz/transformation_wrap_vector_synonym.h",
"source/fuzz/uniform_buffer_element_descriptor.cpp",
"source/fuzz/uniform_buffer_element_descriptor.h",
]