zink: disable PIPE_CAP_QUERY_TIME_ELAPSED for now
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 17 Jul 2019 09:26:53 +0000 (11:26 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 28 Oct 2019 08:51:47 +0000 (08:51 +0000)
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/zink/zink_screen.c

index 306ce23bb7a022be9b9fbbaad180a3c74151f04d..87c860eff2f4302c1cecc14a7185b2e57070f617 100644 (file)
@@ -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;