draw: add support for collecting primitives generated outside streamout

Graphics / Mesa 3D Graphics Library / Mesa - Dave Airlie [redhat.com] - 5 December 2019 20:48 EST

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

5f8af9731e3 draw: add support for collecting primitives generated outside streamout
src/gallium/auxiliary/draw/draw_context.c | 9 +++++++++
src/gallium/auxiliary/draw/draw_context.h | 3 +++
src/gallium/auxiliary/draw/draw_private.h | 2 ++
src/gallium/auxiliary/draw/draw_pt_so_emit.c | 15 ++++++++++++++-
4 files changed, 28 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share