draw: emit so primitives before ending empty pipeline.
authorDave Airlie <airlied@redhat.com>
Fri, 19 Jun 2020 04:37:19 +0000 (14:37 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 7 Jul 2020 20:06:04 +0000 (06:06 +1000)
commit7d82bb0e41dbfb706d86c030779de31316f8cd7e
treefd7cb64432b68b1fb590655402503a307ad904bb
parent59c8fff7e4798731ce8672f2de929170ff6c805f
draw: emit so primitives before ending empty pipeline.

There may be non-stream 0 emitted primitives that have to be processed.

Fixes:
KHR-GL42.transform_feedback_overflow_query_ARB.multiple-streams-one-buffer-per-stream
KHR-GL42.transform_feedback_overflow_query_ARB.multiple-streams-multiple-buffers-per-stream

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5555>
src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline_llvm.c