freedreno: query fixes
authorRob Clark <robclark@freedesktop.org>
Fri, 3 Oct 2014 16:48:31 +0000 (12:48 -0400)
committerRob Clark <robclark@freedesktop.org>
Fri, 3 Oct 2014 18:19:52 +0000 (14:19 -0400)
commit7297bdbd50eb039878fe9e472dc736e1259710fb
tree053bf7c1259f187b79ad300c1ca87f4ef12d661a
parenta262c601d363aea2e6680df527e207cc9d5e235f
freedreno: query fixes

Fixes a few issues, including a potential empty-IB (which triggers gpu
hangs in piglit occlusion_query_meta_no_fragments)

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_query.c
src/gallium/drivers/freedreno/freedreno_query_hw.c
src/gallium/drivers/freedreno/freedreno_util.h