vk: Advertise number of timestamp bits
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Sat, 9 Jan 2016 08:51:14 +0000 (00:51 -0800)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Sat, 9 Jan 2016 08:51:14 +0000 (00:51 -0800)
We have 36 bits.

src/vulkan/anv_device.c

index 57232298e3d9faf017a80b99011369012a8cfc19..1da0cb4367c2792d013381f8bd9fc160c4a2e74f 100644 (file)
@@ -540,7 +540,7 @@ void anv_GetPhysicalDeviceQueueFamilyProperties(
                     VK_QUEUE_COMPUTE_BIT |
                     VK_QUEUE_TRANSFER_BIT,
       .queueCount = 1,
-      .timestampValidBits = 0, /* XXX: Real value here */
+      .timestampValidBits = 36, /* XXX: Real value here */
       .minImageTransferGranularity = (VkExtent3D) { 1, 1, 1 },
    };
 }