swr: [rasterizer core] Frontend dependency work
[mesa.git] / src / gallium / drivers / swr / rasterizer / core / api.cpp
index e67ede2610f12d3f3a2b4bb2a2de6548f331bc12..5f941e8402a0e386bf07e921f80c41c0a7d1f53c 100644 (file)
@@ -317,7 +317,10 @@ DRAW_CONTEXT* GetDrawContext(SWR_CONTEXT *pContext, bool isSplitDraw = false)
 
         SWR_ASSERT(pCurDrawContext->pArena->IsEmpty() == true);
 
+        // Reset dependency
         pCurDrawContext->dependent = false;
+        pCurDrawContext->dependentFE = false;
+
         pCurDrawContext->pContext = pContext;
         pCurDrawContext->isCompute = false; // Dispatch has to set this to true.