summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;