summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_render.h
diff options
context:
space:
mode:
authorMaciej Cencora <[email protected]>2009-05-30 13:28:47 +0200
committerDave Airlie <[email protected]>2009-06-07 16:39:28 +1000
commite98082997c8cfe3bf9c1c1cdc40c23ee897d1007 (patch)
treea6c0e9a4ecde1b239b9294974d36827a59903045 /src/mesa/drivers/dri/r300/r300_render.h
parenta27b689d08d88f99ebccf58bbba64d3cfc668866 (diff)
r300: prepare for different vertex data type support
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_render.h')
-rw-r--r--src/mesa/drivers/dri/r300/r300_render.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_render.h b/src/mesa/drivers/dri/r300/r300_render.h
index 940d2566e2c..002cd613dc9 100644
--- a/src/mesa/drivers/dri/r300/r300_render.h
+++ b/src/mesa/drivers/dri/r300/r300_render.h
@@ -44,6 +44,12 @@
#define R300_FALLBACK_INVALID_BUFFERS (1 << 31)
#define R300_RASTER_FALLBACK_MASK 0xffff0000
+#define MASK_XYZW (R300_WRITE_ENA_X | R300_WRITE_ENA_Y | R300_WRITE_ENA_Z | R300_WRITE_ENA_W)
+#define MASK_X R300_WRITE_ENA_X
+#define MASK_Y R300_WRITE_ENA_Y
+#define MASK_Z R300_WRITE_ENA_Z
+#define MASK_W R300_WRITE_ENA_W
+
extern const struct tnl_pipeline_stage _r300_render_stage;
extern const struct tnl_pipeline_stage _r300_tcl_stage;