gallium/swr: Fix arb_transform_feedback2
[mesa.git] / src / gallium / drivers / swr / rasterizer / core / threads.cpp
index 987469340d2b7a89b3c0462af6726fb74f038c03..113a31ee0c63e6242313c3911cbfc7700a75889f 100644 (file)
@@ -714,6 +714,9 @@ INLINE void CompleteDrawFE(SWR_CONTEXT* pContext, uint32_t workerId, DRAW_CONTEX
         }
     }
 
+    if (pContext->pfnUpdateStreamOut)
+        pContext->pfnUpdateStreamOut(GetPrivateState(pDC),  pDC->dynState.soPrims);
+
     // Ensure all streaming writes are globally visible before marking this FE done
     _mm_mfence();
     pDC->doneFE = true;