diff options
author | Dave Airlie <[email protected]> | 2015-05-27 17:22:13 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-04-09 11:19:38 +1000 |
commit | 333746011d0ac8e7a99587b61fdada3e351b30a3 (patch) | |
tree | 35239160869a6d654c2a533563cd2da524b928ab /src/gallium/auxiliary | |
parent | 63b823130dfe0be2670c83b365e7e997a1957c8b (diff) |
draw: add stream member to stats callback
This just adds space for the member to the callback, doesn't
change anything else.
Reviewed-by: Roland Scheidegger <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_so_emit.c | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/draw/draw_vbuf.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_so_emit.c b/src/gallium/auxiliary/draw/draw_pt_so_emit.c index 261bd3467f9..829543cf615 100644 --- a/src/gallium/auxiliary/draw/draw_pt_so_emit.c +++ b/src/gallium/auxiliary/draw/draw_pt_so_emit.c @@ -296,7 +296,7 @@ void draw_pt_so_emit( struct pt_so_emit *emit, } } - render->set_stream_output_info(render, + render->set_stream_output_info(render, 0, emit->emitted_primitives, emit->generated_primitives); } diff --git a/src/gallium/auxiliary/draw/draw_vbuf.h b/src/gallium/auxiliary/draw/draw_vbuf.h index 8faccda556c..6e737ae5b75 100644 --- a/src/gallium/auxiliary/draw/draw_vbuf.h +++ b/src/gallium/auxiliary/draw/draw_vbuf.h @@ -125,6 +125,7 @@ struct vbuf_render { * Called after writing data to the stream out buffers */ void (*set_stream_output_info)( struct vbuf_render *vbufr, + unsigned stream, unsigned primitive_count, unsigned primitive_generated ); |