summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorOliver McFadden <z3ro.geek@gmail.com>2007-05-09 15:21:13 +0000
committerOliver McFadden <z3ro.geek@gmail.com>2007-05-09 15:21:13 +0000
commit4f20fe8a930007ca8fd5ddaf3969902fa60a7714 (patch)
tree47cdc50919af0cd07341ed1cb92f01e45b2d507f /src/mesa/drivers/dri
parentd28f6d91760374e2eb71b541b0f259f81dd73c69 (diff)
r300: Added R300_PRIM_NUM_VERTICES_MASK suggested by Jerome Glisse.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/r300/r300_reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_reg.h b/src/mesa/drivers/dri/r300/r300_reg.h
index 3754a5be39..8131478e54 100644
--- a/src/mesa/drivers/dri/r300/r300_reg.h
+++ b/src/mesa/drivers/dri/r300/r300_reg.h
@@ -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: