mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-12 23:00:16 +01:00
radeonsi: don't use info.num_inputs when it's unused
For clarity. It's only used by color interpolation. Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
f8d6dd9b3d
commit
4e30fb4ecc
1 changed files with 1 additions and 1 deletions
|
|
@ -1355,7 +1355,7 @@ static void declare_input_fs(
|
|||
}
|
||||
|
||||
interp_fs_input(ctx, input_index, decl->Semantic.Name,
|
||||
decl->Semantic.Index, shader->selector->info.num_inputs,
|
||||
decl->Semantic.Index, 0, /* this param is unused */
|
||||
shader->selector->info.colors_read, interp_param,
|
||||
LLVMGetParam(main_fn, SI_PARAM_PRIM_MASK),
|
||||
LLVMGetParam(main_fn, SI_PARAM_FRONT_FACE),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue