summaryrefslogtreecommitdiffstats
path: root/src/amd/compiler/aco_interface.cpp
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2019-11-13 13:30:52 +0100
committerConnor Abbott <[email protected]>2019-11-25 14:17:51 +0100
commitbb78f9b4e499d8048eaff08dcf7ba9c3de851cad (patch)
tree15f409239a9c9347616022693efc7e284f9314a2 /src/amd/compiler/aco_interface.cpp
parente7f4cadd02ca88fd3af5a396c71a33e91088228b (diff)
aco: Use common argument handling
Reviewed-by: Daniel Schürmann <[email protected]>
Diffstat (limited to 'src/amd/compiler/aco_interface.cpp')
-rw-r--r--src/amd/compiler/aco_interface.cpp3
1 files changed, 1 insertions, 2 deletions
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<aco::Program> 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);