r300: Added R300_PRIM_NUM_VERTICES_MASK suggested by Jerome Glisse.
authorOliver McFadden <z3ro.geek@gmail.com>
Wed, 9 May 2007 15:21:13 +0000 (15:21 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Wed, 9 May 2007 15:21:13 +0000 (15:21 +0000)
src/mesa/drivers/dri/r300/r300_reg.h

index 3754a5be395c438bd036b62fd48b78262e6e0ddf..8131478e548e0adb14f2b2767f6f6d64e5fc83e6 100644 (file)
@@ -1555,6 +1555,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
 #define R300_PRIM_COLOR_ORDER_BGRA              (0 << 6)
 #define R300_PRIM_COLOR_ORDER_RGBA              (1 << 6)
 #define R300_PRIM_NUM_VERTICES_SHIFT            16
+#define R300_PRIM_NUM_VERTICES_MASK             0xffff
 
 /* Draw a primitive from vertex data in arrays loaded via 3D_LOAD_VBPNTR.
  * Two parameter dwords: