radv: tidy up GetQueryPoolResults for occlusion queries
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 22 May 2019 15:46:33 +0000 (17:46 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 27 May 2019 06:50:55 +0000 (08:50 +0200)
commit2d2e7954c3628d7002ef2363484d04bd7933fab1
tree4120db0531a0591be692a0ded492121bb343b9a6
parentb5fa3abfc281c652de9fe8b10c7cab8b252bb428
radv: tidy up GetQueryPoolResults for occlusion queries

Just move the block that checks the availability bit into the
switch like other query types.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_query.c