From bb78f9b4e499d8048eaff08dcf7ba9c3de851cad Mon Sep 17 00:00:00 2001 From: Connor Abbott Date: Wed, 13 Nov 2019 13:30:52 +0100 Subject: aco: Use common argument handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Daniel Schürmann --- src/amd/compiler/aco_interface.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/amd/compiler/aco_interface.cpp') diff --git a/src/amd/compiler/aco_interface.cpp b/src/amd/compiler/aco_interface.cpp index fe22b964725..802adcefb1b 100644 --- a/src/amd/compiler/aco_interface.cpp +++ b/src/amd/compiler/aco_interface.cpp @@ -65,8 +65,7 @@ void aco_compile_shader(unsigned shader_count, std::unique_ptr program{new aco::Program}; /* Instruction Selection */ - aco::select_program(program.get(), shader_count, shaders, &config, - args->shader_info, args->options); + aco::select_program(program.get(), shader_count, shaders, &config, args); if (args->options->dump_preoptir) { std::cerr << "After Instruction Selection:\n"; aco_print_program(program.get(), stderr); -- cgit v1.2.3