Module: Mesa
Branch: master
Commit: 72154c9075269d2022ede04f233a08bb9751f104
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=72154c9075269d2022ede04f233a08bb9751f104

Author: Dave Airlie <[email protected]>
Date:   Thu Jan 23 16:19:25 2020 +1000

draw: emit multiple streams to streamout.

Reviewed-by: Roland Scheidegger <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3530>

---

 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);
 

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to