Revert "st/mesa: Always recalculate invalid index bounds."
[mesa.git] / src / mesa / vbo / vbo_attrib.h
index caedbd5ea69d5536cc1653653b5141752458b848..0ae928f2af4891f3e18ae95cffc1c05b3d496b22 100644 (file)
@@ -100,32 +100,8 @@ enum {
 };
 
 #define VBO_ATTRIB_FIRST_MATERIAL VBO_ATTRIB_MAT_FRONT_AMBIENT
+#define VBO_ATTRIB_LAST_MATERIAL VBO_ATTRIB_MAT_BACK_INDEXES
 
 #define VBO_MAX_COPIED_VERTS 3
 
-struct _mesa_prim {
-   GLuint mode:8;
-   GLuint indexed:1;
-   GLuint begin:1;
-   GLuint end:1;
-   GLuint weak:1;
-   GLuint pad:20;
-
-   GLuint start;
-   GLuint count;
-};
-
-/* Would like to call this a "vbo_index_buffer", but this would be
- * confusing as the indices are not neccessarily yet in a non-null
- * buffer object.
- */
-struct _mesa_index_buffer {
-   GLuint count;
-   GLenum type;
-   struct gl_buffer_object *obj;
-   const void *ptr;
-   GLuint rebase;
-};
-
-
 #endif