summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_reg.h
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2005-02-16 19:04:32 +0000
committerAapo Tahkola <aet@rasterburn.org>2005-02-16 19:04:32 +0000
commit41d180c899c9008edadc6ff4538fc33e9793259c (patch)
treec6def9ed414ebc6742f699202a1f0a2bd1effa53 /src/mesa/drivers/dri/r300/r300_reg.h
parent8eeef423e9d4f0c9e7ac6393288b8772d5c62190 (diff)
Support for idx buffers. Leaving it on by default as it doesnt seem to cause any lock ups nor other issues. Tests with one object using elts should pass. Introducing more than one object will cause indices to mix up as far as i can see. DRM update is needed for this code to work\!
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_reg.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_reg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_reg.h b/src/mesa/drivers/dri/r300/r300_reg.h
index 883d9b944c..d44d149bff 100644
--- a/src/mesa/drivers/dri/r300/r300_reg.h
+++ b/src/mesa/drivers/dri/r300/r300_reg.h
@@ -1308,6 +1308,10 @@ I am fairly certain that they are correct unless stated otherwise in comments.
// Note that if the total number of arrays is odd, the third dword of
// the last block is omitted.
#define R300_PACKET3_3D_LOAD_VBPNTR 0x00002F00
+
+#define R300_PACKET3_INDX_BUFFER 0x00003300
+#define R300_PACKET3_3D_DRAW_INDX_2 0x00003600
+
//END
#endif /* _R300_REG_H */