summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-07-17 11:26:53 +0200
committerErik Faye-Lund <[email protected]>2019-10-28 08:51:47 +0000
commitd50ec9f798d96237884b85a41ad6e238180594fd (patch)
treee73698eab3f49980df739ace9517a18ebd9dac74
parentb525348729aa26fb048a8556be3f250157abac43 (diff)
zink: disable PIPE_CAP_QUERY_TIME_ELAPSED for now
Acked-by: Jordan Justen <[email protected]>
-rw-r--r--src/gallium/drivers/zink/zink_screen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c
index 306ce23bb7a..87c860eff2f 100644
--- a/src/gallium/drivers/zink/zink_screen.c
+++ b/src/gallium/drivers/zink/zink_screen.c
@@ -104,8 +104,12 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
return screen->props.limits.maxColorAttachments;
case PIPE_CAP_OCCLUSION_QUERY:
+ return 1;
+
+#if 0 /* TODO: Enable me */
case PIPE_CAP_QUERY_TIME_ELAPSED:
return 1;
+#endif
case PIPE_CAP_TEXTURE_SWIZZLE:
return 1;