broadcom/vc5: Add partial transform feedback query support.
authorEric Anholt <eric@anholt.net>
Tue, 7 Nov 2017 00:59:05 +0000 (16:59 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 7 Nov 2017 20:57:43 +0000 (12:57 -0800)
commit9ccb6621be2f40a74f75efe30d83b7813e3c3f56
tree4b701f32ef19d24a6f7413c3913d211511612a1d
parent4f33344e7a6b988fbbc4a0802dacf5cab487e408
broadcom/vc5: Add partial transform feedback query support.

We have to compute the queries in software, so we're counting the
primitives by hand.  We still need to make sure to not increment the
PRIMITIVES_EMITTED if we overflowed, but leave that for later.
src/gallium/drivers/vc5/vc5_context.h
src/gallium/drivers/vc5/vc5_draw.c
src/gallium/drivers/vc5/vc5_query.c