radv: Implement pipeline statistics queries.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 10 Apr 2017 20:20:19 +0000 (22:20 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tue, 11 Apr 2017 07:33:17 +0000 (09:33 +0200)
commit8475a14302eaf0ff3c6a6c37dd87471a8ab73d84
tree83e8dc5d62b7a8215a26170471a2ea9ace98114c
parentd2906bc72db6ce33c1f7af5f7f015a4cdfef0862
radv: Implement pipeline statistics queries.

The devil is in the shader again, otherwise this is
fairly straightforward.

The CTS contains no pipeline statistics copy to buffer
testcases, so I did a basic smoketest.

Signed-off-by: Bas Nieuwenhuizen <basni@google.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_query.c