summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe/sp_quad.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-08 11:37:00 -0600
committerBrian <[email protected]>2007-08-08 12:04:08 -0600
commitf00179f9b47e17087d546940e1d57ffb2e2a8e42 (patch)
tree3856304a6eaa639fac6688387c84859698cdfe60 /src/mesa/pipe/softpipe/sp_quad.h
parent8daa738cf95a771d2217fe3dd9de9334143348e0 (diff)
Add a quad_stage::begin() method to do per-primitive preparations (like setting up samplers).
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_quad.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_quad.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad.h b/src/mesa/pipe/softpipe/sp_quad.h
index 72a99819777..cca7dbdcbef 100644
--- a/src/mesa/pipe/softpipe/sp_quad.h
+++ b/src/mesa/pipe/softpipe/sp_quad.h
@@ -41,6 +41,8 @@ struct quad_stage {
struct quad_stage *next;
+ void (*begin)(struct quad_stage *qs);
+
/** the stage action */
void (*run)(struct quad_stage *qs, struct quad_header *quad);
};