summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-10-07 12:18:09 +0200
committerErik Faye-Lund <[email protected]>2019-10-17 10:41:36 +0200
commit9d0523b569bb7208c6e74cafc0f3945415d94336 (patch)
tree6984e6d8e4d2d45b3434a52f21fd0c606d47a901 /src/gallium/drivers
parenta79b93269cf340ce4d23b5b34100039bcaafc841 (diff)
v3d: do not report alpha-test as supported
This triggers lowering in the state-tracker, which makes things a bit simpler. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/v3d/v3d_screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/v3d/v3d_screen.c b/src/gallium/drivers/v3d/v3d_screen.c
index 563a0108e97..9e30268e858 100644
--- a/src/gallium/drivers/v3d/v3d_screen.c
+++ b/src/gallium/drivers/v3d/v3d_screen.c
@@ -245,6 +245,9 @@ v3d_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_UMA:
return 1;
+ case PIPE_CAP_ALPHA_TEST:
+ return 0;
+
default:
return u_pipe_screen_get_param_defaults(pscreen, param);
}