From: Dave Airlie Date: Thu, 24 Jan 2019 03:13:26 +0000 (+1000) Subject: zink: ask for flatshade lowering X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c3bd0274c6df49c5754165b6458ef3560bced8fe;p=mesa.git zink: ask for flatshade lowering Acked-by: Jordan Justen --- 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); }