From 175292b2df949ccda9db471b1cc28df8f2f294d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Sun, 21 Feb 2016 14:00:31 +0100 Subject: [PATCH] Fix alpha-test regression MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 53286c6f5af introduced a regression, there is a missing break in the switch.. Signed-off-by: Marc-André Lureau Signed-off-by: Dave Airlie --- src/vrend_shader.c | 1 + 1 file changed, 1 insertion(+) 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;