From 6d7e02e37da5335d2be11ca1d4bfa002e73c5770 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 3 Oct 2019 16:22:58 -0400 Subject: nir: allow passing alpha-ref state to lowering-code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák --- src/broadcom/compiler/vir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/broadcom/compiler') diff --git a/src/broadcom/compiler/vir.c b/src/broadcom/compiler/vir.c index 802448b1e03..5d929c2412a 100644 --- a/src/broadcom/compiler/vir.c +++ b/src/broadcom/compiler/vir.c @@ -846,7 +846,7 @@ v3d_nir_lower_fs_late(struct v3d_compile *c) if (c->fs_key->alpha_test) { NIR_PASS_V(c->s, nir_lower_alpha_test, c->fs_key->alpha_test_func, - false); + false, NULL); } if (c->key->ucp_enables) -- cgit v1.2.3