radeonsi: avoid redundant SET_PREDICATION packet with QBO workaround
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 27 Jul 2017 17:41:26 +0000 (19:41 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 2 Aug 2017 07:49:06 +0000 (09:49 +0200)
commit1c5b7d5235d2174c415928759c0fdacba31f2d28
treeb96969298e8167a5c6eb0684080caa0189df901b
parentdfc1502c841863b01481f5e88af658f699cca12e
radeonsi: avoid redundant SET_PREDICATION packet with QBO workaround

The QBO workaround compute grid launch emits the render condition atom
when dirty, so install the render condition in the context only after
launching the compute grid. This avoids a redundant SET_PREDICATION.

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