anv: report timestampComputeAndGraphics true
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 17 Jul 2019 05:46:53 +0000 (08:46 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 17 Jul 2019 22:46:58 +0000 (22:46 +0000)
commitce4c5474af6b82b03070577e753cc16ba84deef9
tree021b09d6d9b873e25636820d2122990f1716b30f
parent393f659ed83abfc67d2a57ca1d962d53b22ec03f
anv: report timestampComputeAndGraphics true

Spec says :

   "timestampComputeAndGraphics specifies support for timestamps on all
    graphics and compute queues. If this limit is set to VK_TRUE, all
    queues that advertise the VK_QUEUE_GRAPHICS_BIT or
    VK_QUEUE_COMPUTE_BIT in the VkQueueFamilyProperties::queueFlags
    support VkQueueFamilyProperties::timestampValidBits of at least 36."

On gen7+ this should be true (we only have 32bits of timestamp on
gen6 and below).

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 802f00219addb3 ("anv/device: Update features and limits")
Reported-by: Timothy Strelchun <timothy.strelchun@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c