ilo: replace software queries by hardware ones
authorChia-I Wu <olvaffe@gmail.com>
Sun, 21 Sep 2014 14:39:16 +0000 (22:39 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Sun, 21 Sep 2014 15:31:41 +0000 (23:31 +0800)
commit6b79d894d7c22523ee1ccdee73f4bab79c0cf76d
tree9b8921685c0a26483072d34e241e9c0f43b86a1d
parent154972700d54f83827dbccad1ef09077a63c8a59
ilo: replace software queries by hardware ones

Read PIPE_QUERY_PRIMITIVES_GENERATED and PIPE_QUERY_PRIMITIVES_EMITTED from
hardware registers.  Because all queries now have a bo, remove unnecessary
checks for q->bo.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/gallium/drivers/ilo/ilo_3d.c
src/gallium/drivers/ilo/ilo_3d_pipeline.c
src/gallium/drivers/ilo/ilo_3d_pipeline.h
src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c