[virglrenderer-devel] [PATCH virglrenderer] Fix alpha-test regression
marcandre.lureau at redhat.com
marcandre.lureau at redhat.com
Sun Feb 21 13:00:31 UTC 2016
From: Marc-André Lureau <marcandre.lureau at redhat.com>
Commit 53286c6f5af introduced a regression, there is a missing break in the switch..
Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
src/vrend_shader.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/vrend_shader.c b/src/vrend_shader.c
index 7330759..13f3265 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;
--
2.5.0
More information about the virglrenderer-devel
mailing list