radv: fix occlusion queries on VegaM
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 11 Jun 2019 14:46:32 +0000 (16:46 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 12 Jun 2019 13:51:12 +0000 (15:51 +0200)
commit2ef9d2738c8905cb3a83baf14cc1d088786d57e3
treed2632cab0946037d66f9a224c1eb742eb8442b27
parent93b93e5a9da31b3f7d722029e23609d8a187bf01
radv: fix occlusion queries on VegaM

The number of render backends is 16 but the enabled mask is 0xaaaa.

As noticed by Bas, allowing disabled render backends might break
the OCCLUSION_QUERY packet. We don't use it yet but keep this in
mind.

This fixes dEQP-VK.query_pool.* and dEQP-VK.multiview.*.

Cc: 19.0 19.1 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-By: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_query.c