anv: skip writing perfcntr in results on Gen12+
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 17 Apr 2020 06:51:22 +0000 (09:51 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 18 Apr 2020 10:32:27 +0000 (13:32 +0300)
commitf27c707585ccca0d61b0b688defb59598f37f8b1
treea306f641b73e0b81bf1614d5c5c6deded7a1cec4
parent086ea1ac7ee41fbb6bd031bfdf281a7e276cfe7a
anv: skip writing perfcntr in results on Gen12+

We were not capturing the register already so don't bother writing the
delta in the results (we were previously doing a delta between two 0
values).

v2: Fix unused function warning

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4586>
src/intel/vulkan/genX_query.c