gallium/radeon: fix render predication by SO overflow predicate
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 26 Jul 2017 17:07:22 +0000 (19:07 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 2 Aug 2017 07:46:47 +0000 (09:46 +0200)
commitc8a5053252e7b25cc3342ab12d2a6c80824430a2
tree9be0ccc86b6b31cd4375cc02ae66ef41bbdc68e9
parentda83687c4ba7e9022f6f14176393a9e3c6391ed5
gallium/radeon: fix render predication by SO overflow predicate

The predication bits are "visible or no overflow" and "not visible or
overflow", so we need to invert the check relative to the GL and Gallium
interface semantics.

Also, predication by the other streamout-related queries is not allowed.

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