ac: remove unused ac_nir_compiler_options from gather_info_input_decl()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 11 Jan 2018 21:07:24 +0000 (22:07 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 12 Jan 2018 11:25:19 +0000 (12:25 +0100)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_shader_info.c

index 443980c7d1245d06ea1c125e8c9ba1aa45520493..9dc85fb74f712677234ce0a7e8895eb642445e09 100644 (file)
@@ -136,9 +136,7 @@ gather_info_block(nir_block *block, struct ac_shader_info *info)
 }
 
 static void
-gather_info_input_decl(nir_shader *nir,
-                      const struct ac_nir_compiler_options *options,
-                      nir_variable *var,
+gather_info_input_decl(nir_shader *nir, nir_variable *var,
                       struct ac_shader_info *info)
 {
        switch (nir->info.stage) {
@@ -161,7 +159,7 @@ ac_nir_shader_info_pass(struct nir_shader *nir,
                info->loads_push_constants = true;
 
        nir_foreach_variable(variable, &nir->inputs)
-               gather_info_input_decl(nir, options, variable, info);
+               gather_info_input_decl(nir, variable, info);
 
        nir_foreach_block(block, func->impl) {
                gather_info_block(block, info);