diff options
-rw-r--r-- | src/gallium/state_trackers/clover/core/compiler.hpp | 3 | ||||
-rw-r--r-- | src/gallium/state_trackers/clover/core/program.cpp | 2 | ||||
-rw-r--r-- | src/gallium/state_trackers/clover/tgsi/compiler.cpp | 3 |
3 files changed, 3 insertions, 5 deletions
diff --git a/src/gallium/state_trackers/clover/core/compiler.hpp b/src/gallium/state_trackers/clover/core/compiler.hpp index a3998d5e2fb..686c7d83f83 100644 --- a/src/gallium/state_trackers/clover/core/compiler.hpp +++ b/src/gallium/state_trackers/clover/core/compiler.hpp @@ -46,8 +46,7 @@ namespace clover { module compile_program_llvm(const compat::string &source, const compat::string &target); - module compile_program_tgsi(const compat::string &source, - const compat::string &target); + module compile_program_tgsi(const compat::string &source); } #endif diff --git a/src/gallium/state_trackers/clover/core/program.cpp b/src/gallium/state_trackers/clover/core/program.cpp index 5ac9f93480e..06ac2aff2ff 100644 --- a/src/gallium/state_trackers/clover/core/program.cpp +++ b/src/gallium/state_trackers/clover/core/program.cpp @@ -48,7 +48,7 @@ _cl_program::build(const std::vector<clover::device *> &devs) { for (auto dev : devs) { try { auto module = (dev->ir_target() == "tgsi" ? - compile_program_tgsi(__source, dev->ir_target()) : + compile_program_tgsi(__source) : compile_program_llvm(__source, dev->ir_target())); __binaries.insert({ dev, module }); diff --git a/src/gallium/state_trackers/clover/tgsi/compiler.cpp b/src/gallium/state_trackers/clover/tgsi/compiler.cpp index eb27db1aa76..a6c7fa3f235 100644 --- a/src/gallium/state_trackers/clover/tgsi/compiler.cpp +++ b/src/gallium/state_trackers/clover/tgsi/compiler.cpp @@ -88,8 +88,7 @@ namespace { } module -clover::compile_program_tgsi(const compat::string &source, - const compat::string &target) { +clover::compile_program_tgsi(const compat::string &source) { const char *body = source.find("COMP\n"); module m; |