summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian <brianp@vmware.com>2009-02-11 21:30:21 -0700
committerBrian <brianp@vmware.com>2009-02-11 21:30:21 -0700
commitb865f84c8d94959bd91ec1ab49dd919ea8cc8b8d (patch)
tree39b890928b1199715448248dc04578258eb17370 /src/gallium
parented6f41e2f467f5b9338320a96202c7dfd181422f (diff)
softpipe: rename single-include preprocessor symbol, add comments
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/softpipe/sp_quad_pipe.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/gallium/drivers/softpipe/sp_quad_pipe.h b/src/gallium/drivers/softpipe/sp_quad_pipe.h
index 08513cb95f..0e40586ffc 100644
--- a/src/gallium/drivers/softpipe/sp_quad_pipe.h
+++ b/src/gallium/drivers/softpipe/sp_quad_pipe.h
@@ -28,14 +28,19 @@
/* Authors: Keith Whitwell <keith@tungstengraphics.com>
*/
-#ifndef SP_QUAD_H
-#define SP_QUAD_H
+#ifndef SP_QUAD_PIPE_H
+#define SP_QUAD_PIPE_H
struct softpipe_context;
struct quad_header;
+/**
+ * Fragment processing is performed on 2x2 blocks of pixels called "quads".
+ * Quad processing is performed with a pipeline of stages represented by
+ * this type.
+ */
struct quad_stage {
struct softpipe_context *softpipe;
@@ -66,4 +71,4 @@ void sp_build_quad_pipeline(struct softpipe_context *sp);
void sp_depth_test_quad(struct quad_stage *qs, struct quad_header *quad);
-#endif /* SP_QUAD_H */
+#endif /* SP_QUAD_PIPE_H */