diff options
author | Brian <[email protected]> | 2007-08-08 11:37:00 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-08 12:04:08 -0600 |
commit | f00179f9b47e17087d546940e1d57ffb2e2a8e42 (patch) | |
tree | 3856304a6eaa639fac6688387c84859698cdfe60 /src/mesa/pipe/softpipe/sp_prim_setup.c | |
parent | 8daa738cf95a771d2217fe3dd9de9334143348e0 (diff) |
Add a quad_stage::begin() method to do per-primitive preparations (like setting up samplers).
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_prim_setup.c')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_prim_setup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_prim_setup.c b/src/mesa/pipe/softpipe/sp_prim_setup.c index 4e66f40e47e..c8046befa74 100644 --- a/src/mesa/pipe/softpipe/sp_prim_setup.c +++ b/src/mesa/pipe/softpipe/sp_prim_setup.c @@ -1008,8 +1008,11 @@ setup_point(struct draw_stage *stage, struct prim_header *prim) static void setup_begin( struct draw_stage *stage ) { struct setup_stage *setup = setup_stage(stage); + struct softpipe_context *sp = setup->softpipe; setup->quad.nr_attrs = setup->softpipe->nr_frag_attrs; + + sp->quad.first->begin(sp->quad.first); } |