summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorairlied <airlied@unused-12-215.bne.redhat.com>2008-11-20 21:27:45 +1000
committerairlied <airlied@unused-12-215.bne.redhat.com>2008-11-20 21:27:45 +1000
commit1412ca0be24461cad36de865851484464fac3bfe (patch)
tree39105aea2d25952d37433ed8a9145d8601a108e6 /src/mesa/drivers/dri/i915
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/i915')
-rw-r--r--src/mesa/drivers/dri/i915/intel_tris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_tris.c b/src/mesa/drivers/dri/i915/intel_tris.c
index 06210035af..797d6c5858 100644
--- a/src/mesa/drivers/dri/i915/intel_tris.c
+++ b/src/mesa/drivers/dri/i915/intel_tris.c
@@ -186,7 +186,7 @@ void intel_flush_prim(struct intel_context *intel)
OUT_RELOC(vb_bo, I915_GEM_DOMAIN_VERTEX, 0,
offset | (intel->vertex_size << S0_VB_PITCH_SHIFT_830) |
S0_VB_ENABLE_830);
- /* S1
+ /* S2
* This is somewhat unfortunate -- VB width is tied up with
* vertex format data that we've already uploaded through
* _3DSTATE_VFT[01]_CMD. We may want to replace emits of VFT state with