include surface.offset in address calculations
[mesa.git] / src / mesa / pipe / softpipe / sp_prim_setup.h
index be00b0182b0ff3dd54ad0d2f946b966bc74a621c..0180454a8d2c498f965df8e35594b8876864be65 100644 (file)
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#ifndef S_TRI_H
-#define S_TRI_H
+
+#ifndef SP_PRIM_SETUP_H
+#define SP_PRIM_SETUP_H
+
 
 /* Vertices are just an array of floats, with all the attributes
  * packed.  We currently assume a layout like:
 #include "imports.h"
 #if 0
 #include "s_tri_public.h"
-#endif
 #include "s_context.h"
+#endif
 
 
-extern struct draw_stage *prim_setup( struct softpipe_context *softpipe );
+extern struct draw_stage *sp_draw_render_stage( struct softpipe_context *softpipe );
 
 
 #if 0 /* UNUSED? */
@@ -104,11 +106,6 @@ void tri_triangle( struct tri_context *tri,
 
 #ifdef SETUP_PRIVATE
 
-
-
-
-
-
 GLboolean tri_setup( struct tri_context *tri,
                       const struct vertex *v0,
                       const struct vertex *v1,
@@ -117,11 +114,9 @@ GLboolean tri_setup( struct tri_context *tri,
 void tri_rasterize( struct tri_context *tri );
 void tri_rasterize_spans( struct tri_context *tri );
 
+#endif
 
 
-
-
-
-#endif
-#endif
 #endif
+
+#endif /* SP_PRIM_SETUP_H */