gallium/radeon: fix ARB_query_buffer_object conversion to boolean
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 27 Jul 2017 12:06:59 +0000 (14:06 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 2 Aug 2017 07:46:41 +0000 (09:46 +0200)
commitda83687c4ba7e9022f6f14176393a9e3c6391ed5
tree243fb88fc2508f013bbab575ae826ba74cb46d27
parentd8b78bb0ee663590380c05f0f825029a6bddac2b
gallium/radeon: fix ARB_query_buffer_object conversion to boolean

The issue here is that the immediate is treated as a 64-bit value,
and fetching it does not work reliably with swizzles that are different
from xy and zw.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_query.c