draw/gs: reverse the polarity of the invocation/prims execution
authorDave Airlie <airlied@redhat.com>
Tue, 14 Apr 2020 02:39:42 +0000 (12:39 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 7 Jul 2020 20:06:05 +0000 (06:06 +1000)
commit3e455d6ad31400f4733a2f859cc5ecade7efdbe1
treee2a94d35630eeacd126d056f10ae68062cd9208f
parent1c9bf586e7b92a1918c3e379a96381c2dea85c12
draw/gs: reverse the polarity of the invocation/prims execution

The current code runs primitives per invocation, but the spec wants
invocations per primitive. However it means having to flush
after each invocation to get correct XFB behaviour

Fixes:
GTF-GL41.gtf40.GL3Tests.transform_feedback3.transform_feedback3_geometry_instanced

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