turnip: Disable timestamp queries for now.
authorEric Anholt <eric@anholt.net>
Wed, 27 Nov 2019 00:16:05 +0000 (16:16 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 27 Nov 2019 18:05:59 +0000 (10:05 -0800)
They're not implemented, and not critical to bring up immediately.  Avoids
failures in the CTS when nothing gets written to the query.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/freedreno/vulkan/tu_device.c

index edf38b0a402cf6ac78681bd14ebed44bcfdbb45a..7fbec1ba6192f2fd00bfbdfb0de1f2d44af332ad 100644 (file)
@@ -809,7 +809,7 @@ tu_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
       .sampledImageStencilSampleCounts = sample_counts,
       .storageImageSampleCounts = VK_SAMPLE_COUNT_1_BIT,
       .maxSampleMaskWords = 1,
-      .timestampComputeAndGraphics = true,
+      .timestampComputeAndGraphics = false, /* FINISHME */
       .timestampPeriod = 1,
       .maxClipDistances = 8,
       .maxCullDistances = 8,
@@ -898,7 +898,7 @@ static const VkQueueFamilyProperties tu_queue_family_properties = {
    .queueFlags =
       VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT | VK_QUEUE_TRANSFER_BIT,
    .queueCount = 1,
-   .timestampValidBits = 64,
+   .timestampValidBits = 0, /* FINISHME */
    .minImageTransferGranularity = { 1, 1, 1 },
 };