draw: add support for collecting primitives generated outside streamout
authorDave Airlie <airlied@redhat.com>
Mon, 2 Dec 2019 04:37:42 +0000 (14:37 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 5 Dec 2019 20:48:30 +0000 (06:48 +1000)
commit5f8af9731e36cb8854f7096cd372b83022a004b4
treefbd333c77fce99d191f57b2a91594dbb8470a8b8
parentf137672197936c00fae305e53eef12a665bc87ce
draw: add support for collecting primitives generated outside streamout

GL/gallium require gathering primitives generated outside streamout
stats. This introduces the draw interfaces to enabling collecting this.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_context.h
src/gallium/auxiliary/draw/draw_private.h
src/gallium/auxiliary/draw/draw_pt_so_emit.c