shader: remove unused variable

This buffer was introduced, but never used. Fixes a warning.

While we're at it, fixup the lack of EOL at EOF.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Fixes: 75f2191 ("shader: Don't emit gl_FragCoord layout qualifier on
                GLES and emulate pixel_center_integer")
Reviewed-By: <gert.wollny@collabora.com>
macos/master
Erik Faye-Lund 6 years ago
parent d1758cc09e
commit 2e07b3b918
  1. 3
      src/vrend_shader.c

@ -813,7 +813,6 @@ iter_declaration(struct tgsi_iterate_context *iter,
struct dump_ctx *ctx = (struct dump_ctx *)iter;
int i;
int color_offset = 0;
char name_prefix_buf[64];
const char *name_prefix = "";
bool add_two_side = false;
unsigned mask_temp;
@ -6717,4 +6716,4 @@ fail:
free(ctx.so_names);
free(ctx.temp_ranges);
return false;
}
}

Loading…
Cancel
Save