shader: drop duplicate num_interpis = 0

The top level emit_ios() already zeros it, so we can remove the
duplicate (and misleading) one in emit_ios_vs().

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
macos/master
Emil Velikov 6 years ago committed by Emil Velikov
parent 4c4b8d1a21
commit c719ef0afa
  1. 2
      src/vrend_shader.c

@ -5947,8 +5947,6 @@ static void emit_ios_vs(struct dump_ctx *ctx)
{ {
uint32_t i; uint32_t i;
ctx->num_interps = 0;
for (i = 0; i < ctx->num_inputs; i++) { for (i = 0; i < ctx->num_inputs; i++) {
char postfix[32] = ""; char postfix[32] = "";
if (!ctx->inputs[i].glsl_predefined_no_emit) { if (!ctx->inputs[i].glsl_predefined_no_emit) {

Loading…
Cancel
Save