freedreno: prep work for timestamp queries
authorRob Clark <robclark@freedesktop.org>
Tue, 1 Mar 2016 15:45:32 +0000 (10:45 -0500)
committerRob Clark <robdclark@gmail.com>
Sat, 23 Jul 2016 17:39:30 +0000 (13:39 -0400)
commit6a4b052820a4553c536b08176795e3685f4a16e4
tree0e1a2628cc4186b2219f58409db48327ca8b8560
parent3d69357da9f297314f760be092fc55956848425e
freedreno: prep work for timestamp queries

We need "NULL" state to be a valid bit in the bitmask, because timestamp
queries are not restricted to draw/etc stages (ie. the only commands to
submit may just be to read the timestamp).  And just because there are
no draws, isn't a reason to skip the flush and return zero.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/freedreno_context.c
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_query_hw.c