summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/zink
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-01-24 13:13:26 +1000
committerErik Faye-Lund <[email protected]>2019-10-28 08:51:43 +0000
commitc3bd0274c6df49c5754165b6458ef3560bced8fe (patch)
treeffed899bab015f24d6707a5a2d7785d8fc49a285 /src/gallium/drivers/zink
parent48f1f20a9dc6bbb888f6c2b37f519e400232fbc9 (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.c3
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);
}