summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau/nouveau_reg.h
diff options
context:
space:
mode:
authorPatrice Mandin <pmandin@freedesktop.org>2006-09-08 23:18:27 +0000
committerPatrice Mandin <pmandin@freedesktop.org>2006-09-08 23:18:27 +0000
commitddaf3060fa5105dd9c769086a4bbfdb2488ae86b (patch)
tree94a782cf20961ab9b8d7124c3a0cbac4470acfb1 /src/mesa/drivers/dri/nouveau/nouveau_reg.h
parentcdd433b29be9ad39b0c2e69d76d2de51f29eba2b (diff)
nv10: vertex attribute output format
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_reg.h')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_reg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_reg.h b/src/mesa/drivers/dri/nouveau/nouveau_reg.h
index 5f4b0624ad..583a2b82cb 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_reg.h
+++ b/src/mesa/drivers/dri/nouveau/nouveau_reg.h
@@ -65,6 +65,8 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#define NV20_VERTEX_ATTRIBUTE_TYPE_MASK 0x0000000f
#define NV20_VERTEX_ATTRIBUTE_TYPE_FLOAT 0x00000002
#define NV20_VERTEX_ATTRIBUTE_SIZE_MASK 0x000000f0
+#define NV10_VERTEX_ATTRIBUTE(i) (0x00000d04+i*8)
+#define NV10_VERTEX_SET_FORMAT 0x00000cf0
/* Rendering commands */
#define NV10_PRIMITIVE 0x00000dfc