radv: Enable query inheritance.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 12 Apr 2017 21:17:14 +0000 (23:17 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 13 Apr 2017 14:04:27 +0000 (16:04 +0200)
commit04c7452d0ca9b134685eaff4fdebce8734470bd9
tree66ffd1f92f241e74200e14fda2e2b012eec06fc8
parentc3f38c89682b02e13d7cf92b5f8de2b7cc2481a4
radv: Enable query inheritance.

timestamp and pipeline_statistics only do something on begin & end,
so they don't need any action.

Occlusion queries only do something to enable/disable and that
register is set nowhere else so that doesn't need extra support either.
(We technically should fix it to update the reg with the number of
 samples, but that hasn't happened yet, so we only change it to
 enable/disable counting)

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