shader: clean up TES IO emit

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
macos/master
Gert Wollny 6 years ago committed by Dave Airlie
parent 7418567f0c
commit 26a2748965
  1. 2
      src/vrend_shader.c

@ -4806,7 +4806,7 @@ static void emit_ios_tes(struct dump_ctx *ctx)
if (ctx->num_in_clip_dist || ctx->key->prev_stage_pervertex_out) { if (ctx->num_in_clip_dist || ctx->key->prev_stage_pervertex_out) {
int clip_dist, cull_dist; int clip_dist, cull_dist;
char clip_var[64] = {}, cull_var[64] = {}; char clip_var[64] = "", cull_var[64] = "";
clip_dist = ctx->key->prev_stage_num_clip_out ? ctx->key->prev_stage_num_clip_out : ctx->num_in_clip_dist; clip_dist = ctx->key->prev_stage_num_clip_out ? ctx->key->prev_stage_num_clip_out : ctx->num_in_clip_dist;
cull_dist = ctx->key->prev_stage_num_cull_out; cull_dist = ctx->key->prev_stage_num_cull_out;

Loading…
Cancel
Save