intel/perf: make pipeline statistic query loading optional
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 4 Sep 2019 14:05:47 +0000 (17:05 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 20 May 2020 11:02:27 +0000 (14:02 +0300)
commit8b8eaa84a3e80d1df1c2467dc31432824cffd610
tree7d2a328b8024b5399baabce8898ebebd52856217
parentcc13bfbd05934f4053b633627f5bd2ef1108537b
intel/perf: make pipeline statistic query loading optional

On Vulkan most of those are already covered by standard queries so
add the ability to skip them.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2775>
src/gallium/drivers/iris/iris_monitor.c
src/gallium/drivers/iris/iris_performance_query.c
src/intel/perf/gen_perf.c
src/intel/perf/gen_perf.h
src/intel/vulkan/anv_perf.c
src/mesa/drivers/dri/i965/brw_performance_query.c