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
path: root/tools
diff options
context:
space:
mode:
authorAlastair Donaldson <alastair.donaldson@imperial.ac.uk>2021-03-10 18:37:14 +0300
committerGitHub <noreply@github.com>2021-03-10 18:37:14 +0300
commitf7cf3ec2a5f664078bd10f1d72c7c8a49d5fab53 (patch)
tree893c653e84d9dca3fb8cca0447e203345f18c0f6 /tools
parent1746ed39d5b9227a56a7602fd16f5567598aff03 (diff)
spirv-fuzz: Avoid unnecessary dependency (#4165)
The fuzzer library depended on CLIMessageConsumer, due to its explicit use in a function. This change removes that dependency so that, instead, a message consumer parameter is passed.
Diffstat (limited to 'tools')
-rw-r--r--tools/fuzz/fuzz.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/fuzz/fuzz.cpp b/tools/fuzz/fuzz.cpp
index a93d26acf..4400e0c01 100644
--- a/tools/fuzz/fuzz.cpp
+++ b/tools/fuzz/fuzz.cpp
@@ -721,9 +721,9 @@ int main(int argc, const char** argv) {
switch (status.action) {
case FuzzActions::FORCE_RENDER_RED:
- if (!spvtools::fuzz::ForceRenderRed(target_env, validator_options,
- binary_in, initial_facts,
- &binary_out)) {
+ if (!spvtools::fuzz::ForceRenderRed(
+ target_env, validator_options, binary_in, initial_facts,
+ spvtools::utils::CLIMessageConsumer, &binary_out)) {
return 1;
}
break;