From 72154c9075269d2022ede04f233a08bb9751f104 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 23 Jan 2020 16:19:25 +1000 Subject: [PATCH] draw: emit multiple streams to streamout. Reviewed-by: Roland Scheidegger Part-of: --- src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c index c19eda2ede4..3a75a00c363 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c @@ -483,7 +483,7 @@ llvm_pipeline_generic(struct draw_pt_middle_end *middle, } /* stream output needs to be done before clipping */ - draw_pt_so_emit( fpme->so_emit, 1, vert_info, prim_info ); + draw_pt_so_emit( fpme->so_emit, gshader ? gshader->num_vertex_streams : 1, vert_info, prim_info ); draw_stats_clipper_primitives(draw, prim_info); -- 2.30.2