radeonsi: disable occlusion queries if they are not needed
authorMarek Olšák <marek.olsak@amd.com>
Sat, 23 Aug 2014 09:12:01 +0000 (11:12 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 1 Sep 2014 19:18:51 +0000 (21:18 +0200)
commit78aa71760161e7293cdb3f77ede27d36c2aae39b
tree84f8e5d8a0b4cd7a5ff331bd7d3e20027bbfe238
parentab9ad9177981757e7f1d17c61fd123855620c875
radeonsi: disable occlusion queries if they are not needed

We always left them enabled, which turned off HiZ in some cases.
This should improve performace with Hyper-Z.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_state_draw.c