r600g: ensure PERFECT_ZPASS+NOOP_CULL_DISABLE are 0 for blits+decompression
authorMarek Olšák <maraeo@gmail.com>
Sat, 29 Sep 2012 01:33:29 +0000 (03:33 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sat, 6 Oct 2012 02:31:16 +0000 (04:31 +0200)
commit6fa22b840e68f15aff284485839467d51100edb9
tree4be775419c9ea23b1fd67311bf66d381e203dc66
parent6db53ca490b22ba3f16b3ab0beef7a5fc071a074
r600g: ensure PERFECT_ZPASS+NOOP_CULL_DISABLE are 0 for blits+decompression

When an occlusion query was active, the derived DB state wasn't changed
for u_blitter even though all the occlusion queries were suspended.

It's fixed by moving the state update into the emit functions, which are
called whenever queries are stopped or suspended.
src/gallium/drivers/r600/r600_query.c