swr/rast: Move clip/cull enables in API
[mesa.git] / src / gallium / drivers / swr / rasterizer / core / api.h
index a39420552b55932c122d2229aadf1949bae01484..577cfb157a516b84fc8218cf9a5244e062b545e5 100644 (file)
@@ -262,6 +262,13 @@ SWR_FUNC(void, SwrSync,
     uint64_t userData2,
     uint64_t userData3);
 
+//////////////////////////////////////////////////////////////////////////
+/// @brief Stall cmd. Stalls the backend until all previous work has been completed.
+///        Frontend work can continue to make progress
+/// @param hContext - Handle passed back from SwrCreateContext
+SWR_FUNC(void, SwrStallBE,
+    HANDLE hContext);
+
 //////////////////////////////////////////////////////////////////////////
 /// @brief Blocks until all rendering has been completed.
 /// @param hContext - Handle passed back from SwrCreateContext
@@ -709,6 +716,7 @@ struct SWR_INTERFACE
     PFNSwrSaveState pfnSwrSaveState;
     PFNSwrRestoreState pfnSwrRestoreState;
     PFNSwrSync pfnSwrSync;
+    PFNSwrStallBE pfnSwrStallBE;
     PFNSwrWaitForIdle pfnSwrWaitForIdle;
     PFNSwrWaitForIdleFE pfnSwrWaitForIdleFE;
     PFNSwrSetVertexBuffers pfnSwrSetVertexBuffers;