diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-02-21 14:00:31 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-02-26 04:33:14 +0000 |
commit | 175292b2df949ccda9db471b1cc28df8f2f294d9 (patch) | |
tree | 215e169485e0a7593a82ec14a18b10abdd2798e6 | |
parent | d4c098fc8d17423320ff782e14ec00aa4935a24a (diff) |
Fix alpha-test regression
Commit 53286c6f5af 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>
-rw-r--r-- | src/vrend_shader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vrend_shader.c b/src/vrend_shader.c index 5a16223..e72231f 100644 --- a/src/vrend_shader.c +++ b/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; |