From c3bd0274c6df49c5754165b6458ef3560bced8fe Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 24 Jan 2019 13:13:26 +1000 Subject: [PATCH] zink: ask for flatshade lowering Acked-by: Jordan Justen --- src/gallium/drivers/zink/zink_screen.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c index 66cc6ef4490..dd1d304b67b 100644 --- a/src/gallium/drivers/zink/zink_screen.c +++ b/src/gallium/drivers/zink/zink_screen.c @@ -265,6 +265,9 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT: return 1; + case PIPE_CAP_FLATSHADE: + return 0; + default: return u_pipe_screen_get_param_defaults(pscreen, param); } -- 2.30.2