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. 1
      src/vrend_shader.c

@ -813,7 +813,6 @@ iter_declaration(struct tgsi_iterate_context *iter,
struct dump_ctx *ctx = (struct dump_ctx *)iter; struct dump_ctx *ctx = (struct dump_ctx *)iter;
int i; int i;
int color_offset = 0; int color_offset = 0;
char name_prefix_buf[64];
const char *name_prefix = ""; const char *name_prefix = "";
bool add_two_side = false; bool add_two_side = false;
unsigned mask_temp; unsigned mask_temp;

Loading…
Cancel
Save