summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_shader_info.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-01-11 22:07:24 +0100
committerSamuel Pitoiset <[email protected]>2018-01-12 12:25:19 +0100
commit20f7f9a32839393c4d05029364f9370092e6c9e1 (patch)
tree7025067c64c16901b7490817db7d000d34c43f3c /src/amd/common/ac_shader_info.c
parentd5e369ff8a485e9882a7565c15c20581a23f905f (diff)
ac: remove unused ac_nir_compiler_options from gather_info_input_decl()
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/common/ac_shader_info.c')
-rw-r--r--src/amd/common/ac_shader_info.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/amd/common/ac_shader_info.c b/src/amd/common/ac_shader_info.c
index 443980c7d12..9dc85fb74f7 100644
--- a/src/amd/common/ac_shader_info.c
+++ b/src/amd/common/ac_shader_info.c
@@ -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);