anv/device: init timestampPeriod from devinfo
authorRobert Bragg <robert@sixbynine.org>
Fri, 17 Mar 2017 15:54:07 +0000 (15:54 +0000)
committerRobert Bragg <robert@sixbynine.org>
Fri, 17 Mar 2017 16:10:22 +0000 (16:10 +0000)
commita27b62e794779229210092635e7afccc2fd074c7
treecb9e579dedc07467ee6190faa19c48650a8a49f9
parent344d1a4015de94d27c20ea6f632be8e4c16b6a63
anv/device: init timestampPeriod from devinfo

Now that there's a timebase_scale in gen_device_info which is
effectively the 'period' this switches anv_GetPhysicalDeviceProperties
to using this common device info to initialize the timestampPeriod
device limit.

Signed-off-by: Robert Bragg <robert@sixbynine.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c