anv: fix GetPhysicalDeviceProperties to return timestampPeriod in ns
authorPhilipp Zabel <philipp.zabel@gmail.com>
Wed, 5 Oct 2016 23:48:04 +0000 (01:48 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 6 Oct 2016 09:02:35 +0000 (02:02 -0700)
commit0408d50f43d8520d9feb3faef6e6f31871d18a74
treecada9e711c5632d4027f03c635c5cbbd0a843918
parent88428fbe412e89c421da89808ef8bcc0fbddd845
anv: fix GetPhysicalDeviceProperties to return timestampPeriod in ns

According to chapters 16.5. (Timestamp Queries) and 30.2 (Limits) of the
Vulkan Specification 1.0.29, the .limits.timestampPeriod field returned
by vkGetPhysicalDeviceProperties is measured in nanoseconds, not in
seconds.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/vulkan/anv_device.c