radv: add support for shader stats dump
authorDave Airlie <airlied@redhat.com>
Tue, 22 Nov 2016 04:17:49 +0000 (04:17 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 22 Nov 2016 07:20:17 +0000 (07:20 +0000)
commitf395e3445df98b0398865a1897bca003f9add6f4
treedff13933d0e01baac2c6f408244b0b17a084f22f
parent220912e21432dba996cb2694dea480c65cf6a7c6
radv: add support for shader stats dump

I've started working on a shader-db alike for Vulkan,
it's based on vktrace and it records pipelines, this
adds support to dump the shader stats exactly like
radeonsi does, so I can reuse the shader-db scripts it
uses.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h