aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_reg.h
diff options
context:
space:
mode:
authorairlied <[email protected]>2008-11-20 21:27:45 +1000
committerairlied <[email protected]>2008-11-20 21:27:45 +1000
commit1412ca0be24461cad36de865851484464fac3bfe (patch)
tree39105aea2d25952d37433ed8a9145d8601a108e6 /src/mesa/drivers/dri/intel/intel_reg.h
parent1ea414fdebb3b784a271b36652933564a04e1a02 (diff)
intel: fix i830 comment + backwards VB offsets.
According to Keith the docs have these offsets the other way around
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_reg.h')
-rw-r--r--src/mesa/drivers/dri/intel/intel_reg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_reg.h b/src/mesa/drivers/dri/intel/intel_reg.h
index cd4654aab42..68d8a05b836 100644
--- a/src/mesa/drivers/dri/intel/intel_reg.h
+++ b/src/mesa/drivers/dri/intel/intel_reg.h
@@ -100,8 +100,8 @@
#define S2_TEXCOORD_FMT(unit, type) ((type)<<(unit*4))
#define S2_TEXCOORD_NONE (~0)
#define S2_TEX_COUNT_SHIFT_830 12
-#define S2_VERTEX_0_WIDTH_SHIFT_830 0
-#define S2_VERTEX_1_WIDTH_SHIFT_830 6
+#define S2_VERTEX_1_WIDTH_SHIFT_830 0
+#define S2_VERTEX_0_WIDTH_SHIFT_830 6
/* S3 not interesting */
#define S4_POINT_WIDTH_SHIFT 23