intel: refactor INTEL_MEASURE pointer dumping
authorFelix DeGrood <felix.j.degrood@intel.com>
Wed, 26 Apr 2023 18:52:21 +0000 (18:52 +0000)
committerMarge Bot <emma+marge@anholt.net>
Fri, 12 May 2023 21:15:09 +0000 (21:15 +0000)
commit82f6a477f3f013975cc7c1755162746f85546b6f
treed81ca5b2ecc0f9982e122a832fabf9892c5a33f7
parente2dfab5c964462d0d904a48d2ea251d8a0b3b7ce
intel: refactor INTEL_MEASURE pointer dumping

Refactor framebuffer to renderpass to mirror previous INTEL_MEASURE
changes.

We dump hashes/pointers for shaders and framebuffer/renderpass.
Reduce from 64bit to 32bit pointers. We don't benefit from the
extra precision and reduced output size is convenient.

Reviewed-by: Mark Janes <markjanes@swizzler.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22723>
src/gallium/drivers/iris/iris_measure.c
src/intel/common/intel_measure.c
src/intel/common/intel_measure.h
src/intel/vulkan/anv_measure.c