radv: use the pipeline key as hash for pipeline bind markers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 16 Feb 2021 16:31:52 +0000 (17:31 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 18 Feb 2021 08:28:49 +0000 (08:28 +0000)
commitb02c709b702810f4e65eebac3b628db9d631999a
tree1e7ce76e0191e7d26da49fc21a7eb7a06318260e
parent51f3855cc4bd2b6402fd033bcceb6ff148cac09f
radv: use the pipeline key as hash for pipeline bind markers

It's way easier to identify a pipeline compared to a random CPU addr.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9083>
src/amd/vulkan/layers/radv_sqtt_layer.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h