summaryrefslogtreecommitdiffstats
path: root/src/broadcom
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-10-03 16:22:58 -0400
committerErik Faye-Lund <[email protected]>2019-10-17 10:41:36 +0200
commit6d7e02e37da5335d2be11ca1d4bfa002e73c5770 (patch)
tree11ec3d42693df45d342601ad70a9d28c4dd31b1f /src/broadcom
parentfdc4450c285d21251a6a1de3f0765a934ea0567c (diff)
nir: allow passing alpha-ref state to lowering-code
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/broadcom')
-rw-r--r--src/broadcom/compiler/vir.c2
1 files changed, 1 insertions, 1 deletions
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)