summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe/sp_quad.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-06-20 16:12:26 -0600
committerBrian <[email protected]>2007-06-20 16:12:26 -0600
commite0398f43a2d7b454592135e1ed33a8a6c303ecc9 (patch)
tree28fb17a73527fd48bccd1adafd443d3c4014b03c /src/mesa/pipe/softpipe/sp_quad.c
parentacef7c750113e34a92fd00c74308443d8fb3f974 (diff)
Rename "tile" files to "quad".
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_quad.c')
-rw-r--r--src/mesa/pipe/softpipe/sp_quad.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mesa/pipe/softpipe/sp_quad.c b/src/mesa/pipe/softpipe/sp_quad.c
new file mode 100644
index 00000000000..168872c64d0
--- /dev/null
+++ b/src/mesa/pipe/softpipe/sp_quad.c
@@ -0,0 +1,24 @@
+
+
+#include "sp_context.h"
+
+
+
+void
+sp_build_quad_pipeline(struct softpipe_context *sp)
+{
+
+ sp->quad.first = sp->quad.output;
+
+ if (sp->blend.blend_enable) {
+ sp->quad.blend->next = sp->quad.first;
+ sp->quad.first = sp->quad.blend;
+ }
+
+ /* XXX always enable shader? */
+ if (1) {
+ sp->quad.shade->next = sp->quad.first;
+ sp->quad.first = sp->quad.shade;
+ }
+
+}