freedreno/ir3: remove unused actual_in counting

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13918>
This commit is contained in:
Ilia Mirkin 2021-11-20 18:48:34 -05:00 committed by Marge Bot
parent 902c5bf468
commit be048ec112
1 changed files with 1 additions and 3 deletions

View File

@ -3551,7 +3551,6 @@ pack_inlocs(struct ir3_context *ctx)
* Second Step: reassign varying inloc/slots:
*/
unsigned actual_in = 0;
unsigned inloc = 0;
/* for clip+cull distances, unused components can't be eliminated because
@ -3585,7 +3584,6 @@ pack_inlocs(struct ir3_context *ctx)
continue;
compmask |= (1 << j);
actual_in++;
maxcomp = j + 1;
/* at this point, since used_components[i] mask is only
@ -4448,7 +4446,7 @@ ir3_compile_shader_nir(struct ir3_compiler *compiler,
so->branchstack = ctx->max_stack;
/* Note that actual_in counts inputs that are not bary.f'd for FS: */
/* Note that max_bary counts inputs that are not bary.f'd for FS: */
if (so->type == MESA_SHADER_FRAGMENT)
so->total_in = max_bary + 1;