summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_private.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2008-01-29 11:43:04 -0800
committerBen Skeggs <skeggsb@gmail.com>2008-02-15 13:50:26 +1100
commitd798e7e2689338918218bbde5b8a5d68e3ca8c22 (patch)
tree4a3dc017ff202f1b96631bea82111a361abc942c /src/mesa/pipe/draw/draw_private.h
parentfc4620554a3eed2a4032d9f6bd349acfd152682c (diff)
Provide mechanism to hook in custom vertex shader cache flush function
Diffstat (limited to 'src/mesa/pipe/draw/draw_private.h')
-rw-r--r--src/mesa/pipe/draw/draw_private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_private.h b/src/mesa/pipe/draw/draw_private.h
index 21de400676..fea6d94ed8 100644
--- a/src/mesa/pipe/draw/draw_private.h
+++ b/src/mesa/pipe/draw/draw_private.h
@@ -240,6 +240,11 @@ struct draw_context
unsigned queue_nr;
} vs;
+ /**
+ * Run the vertex shader on all vertices in the vertex queue.
+ */
+ void (*shader_queue_flush)(struct draw_context *draw);
+
/* Prim pipeline queue:
*/
struct {