Reviewed-by: Francisco Jerez <currojerez@riseup.net>
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
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 });
}
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;