summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-06-01 22:25:57 +0200
committerMarek Olšák <[email protected]>2017-07-17 10:50:39 -0400
commit4e30fb4ecc36df5aed42d6dafa2242f2c136ea23 (patch)
tree7568de032eed714352422fffd8700896c30e22b8 /src/gallium
parentf8d6dd9b3d8393329ad5c092cdf153cef6869362 (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]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c2
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),