summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/glamo/glamo_regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/glamo/glamo_regs.h')
-rw-r--r--src/mesa/drivers/dri/glamo/glamo_regs.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/glamo/glamo_regs.h b/src/mesa/drivers/dri/glamo/glamo_regs.h
index ff5c754b20..d996c1636f 100644
--- a/src/mesa/drivers/dri/glamo/glamo_regs.h
+++ b/src/mesa/drivers/dri/glamo/glamo_regs.h
@@ -131,4 +131,34 @@ enum glamo_register_2d {
GLAMO_REG_2D_ID3 = REG_2D(0x48),
};
+
+/* No offset this time */
+#define REG_3D(x) (x)
+
+enum glamo_register_3d
+{
+ /* Fire the engine */
+ G3D_FIRE = REG_3D(0x2058),
+
+ /* Streams of vertex/colour/normal/texcoord data */
+ G3D_ACTIVE_STREAMS = REG_3D(0x1f00),
+ G3D_LAST_STREAM__VCOLFMT = REG_3D(0x2030),
+ G3D_STREAM_MODE_0 = REG_3D(0x1f10),
+ G3D_STREAM_BASE_0 = REG_3D(0x1f14),
+ G3D_STREAM_MODE_1 = REG_3D(0x1f18),
+ G3D_STREAM_BASE_1 = REG_3D(0x1f1c),
+ G3D_STREAM_MODE_2 = REG_3D(0x1f20),
+ G3D_STREAM_BASE_2 = REG_3D(0x1f24),
+ G3D_STREAM_MODE_3 = REG_3D(0x1f28),
+ G3D_STREAM_BASE_3 = REG_3D(0x1f2c),
+ G3D_STREAM_MODE_4 = REG_3D(0x1f30),
+ G3D_STREAM_BASE_4 = REG_3D(0x1f34),
+ G3D_STREAM_MODE_5 = REG_3D(0x1f38),
+ G3D_STREAM_BASE_5 = REG_3D(0x1f3c),
+ G3D_STREAM_MODE_6 = REG_3D(0x1f40),
+ G3D_STREAM_BASE_6 = REG_3D(0x1f44),
+ G3D_STREAM_MODE_7 = REG_3D(0x1f48),
+ G3D_STREAM_BASE_7 = REG_3D(0x1f4c),
+}
+
#endif /* _GLAMO_REGS_H */