radeonsi: fix streamout overflow predication on VI+
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 27 Jul 2017 17:24:59 +0000 (19:24 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 2 Aug 2017 07:48:53 +0000 (09:48 +0200)
commitdfc1502c841863b01481f5e88af658f699cca12e
tree275cc46f33717a833ca3b5f78d71bf1ab81876a1
parentaff93fd60e9167d1fbe63b4972451d2a5acda6e5
radeonsi: fix streamout overflow predication on VI+

There is a firmware regression that causes failures. Work around it by
using the compute shader for query_buffer_objects to summarize the query
results.

v2: rename to PREDICATION_OP_BOOL64 (consistent with sid.h)

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