diff options
author | Marek Olšák <[email protected]> | 2017-06-01 22:25:57 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-07-17 10:50:39 -0400 |
commit | 4e30fb4ecc36df5aed42d6dafa2242f2c136ea23 (patch) | |
tree | 7568de032eed714352422fffd8700896c30e22b8 | |
parent | f8d6dd9b3d8393329ad5c092cdf153cef6869362 (diff) |
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 <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index a26de99f509..bb901ee5b79 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -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), |