Fix alpha-test regression

Commit 53286c6f5a introduced a regression, there is a missing break in the switch..

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
macos/master
Marc-André Lureau 9 years ago committed by Dave Airlie
parent d4c098fc8d
commit 175292b2df
  1. 1
      src/vrend_shader.c

@ -745,6 +745,7 @@ static int emit_alpha_test(struct dump_ctx *ctx)
case PIPE_FUNC_NOTEQUAL:
case PIPE_FUNC_GEQUAL:
snprintf(comp_buf, 128, "%s %s %f", "fsout_c0.w", atests[ctx->key->alpha_test], ctx->key->alpha_ref_val);
break;
default:
fprintf(stderr, "invalid alpha-test: %x\n", ctx->key->alpha_test);
return EINVAL;

Loading…
Cancel
Save