intel/perf: expose some utility functions
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 28 Aug 2019 12:45:00 +0000 (15:45 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 23 Oct 2019 05:41:14 +0000 (05:41 +0000)
commita338b7d7398ece2f13996f20e09214d126fbb92f
treeb463198c77fb51d5d69228ffe7ee3b1764c4b168
parenta0e0e75db172222c4ab608971e08c6e59f9227fa
intel/perf: expose some utility functions

The Vulkan performance query extension is a bit lower level than the
GL one. Expose some of the functions to do the result accumulation
directly in the Anv driver.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/intel/perf/gen_perf.c
src/intel/perf/gen_perf.h