summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_state_derived.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-06-20 14:29:14 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-06-20 14:29:14 -0600
commitfb5cdbd078d4d44fb43d417843debe41148f3714 (patch)
treec0ee61884177dfb98067fd4ea7f4f52042265b3e /src/mesa/pipe/softpipe/sp_state_derived.c
parent1edb5aafadc16ac0d7c604a3cd4a9c2e91d9b705 (diff)
Initial implementation of a software pipeline for quad rasterization (fragment ops).
This is very much like the clipper/setup pipeline for primitives.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_state_derived.c')
-rw-r--r--src/mesa/pipe/softpipe/sp_state_derived.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_state_derived.c b/src/mesa/pipe/softpipe/sp_state_derived.c
index 1f7329600a..b53c842366 100644
--- a/src/mesa/pipe/softpipe/sp_state_derived.c
+++ b/src/mesa/pipe/softpipe/sp_state_derived.c
@@ -132,5 +132,8 @@ void softpipe_update_derived( struct softpipe_context *softpipe )
if (softpipe->dirty & (G_NEW_SETUP | G_NEW_FS))
calculate_vertex_layout( softpipe );
+ if (softpipe->dirty & (G_NEW_BLEND | G_NEW_FS))
+ sp_build_quad_pipeline(softpipe);
+
softpipe->dirty = 0;
}