summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-12-27 15:33:33 -0500
committerAlyssa Rosenzweig <[email protected]>2019-12-30 17:11:08 -0500
commit62d056d8e32c10e430ee7b742daaa1f6f7d6cc71 (patch)
tree5dc92fc01ba36de0eb66a4bb18d22297b1b03854
parent71df7c69bc44a2daddf07efa03bf0526aea533ee (diff)
panfrost: Disable some CAPs we want lowered
Signed-off-by: Alyssa Rosenzweig <[email protected]>
-rw-r--r--src/gallium/drivers/panfrost/pan_screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c
index b2954c0751d..263dcd0fae9 100644
--- a/src/gallium/drivers/panfrost/pan_screen.c
+++ b/src/gallium/drivers/panfrost/pan_screen.c
@@ -252,6 +252,9 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param)
return 16;
case PIPE_CAP_ALPHA_TEST:
+ case PIPE_CAP_FLATSHADE:
+ case PIPE_CAP_TWO_SIDED_COLOR:
+ case PIPE_CAP_CLIP_PLANES:
return 0;
default: