nir: allow passing alpha-ref state to lowering-code

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Erik Faye-Lund
2019-10-03 16:22:58 -04:00
parent fdc4450c28
commit 6d7e02e37d
5 changed files with 25 additions and 7 deletions
+1 -1
View File
@@ -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)