diff options
author | Dave Airlie <[email protected]> | 2019-01-24 13:13:26 +1000 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2019-10-28 08:51:43 +0000 |
commit | c3bd0274c6df49c5754165b6458ef3560bced8fe (patch) | |
tree | ffed899bab015f24d6707a5a2d7785d8fc49a285 /src/gallium/drivers/zink | |
parent | 48f1f20a9dc6bbb888f6c2b37f519e400232fbc9 (diff) |
zink: ask for flatshade lowering
Acked-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/zink')
-rw-r--r-- | src/gallium/drivers/zink/zink_screen.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |