summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_draw.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-09-08 12:21:42 -0600
committerBrian Paul <[email protected]>2009-09-08 12:21:42 -0600
commit8de625c7cf639c583e8bf43acb1214010989bb64 (patch)
tree6e3bff5a95b80b4fee143978c2863f7b2795bf6a /src/mesa/drivers/dri/i965/brw_draw.c
parent18bdb6e712d43632dcd2e73cea68e0b2953fe62e (diff)
i965: fix incorrect test for vertex position attribute
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_draw.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_draw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c
index 5342622a737..54b0661db85 100644
--- a/src/mesa/drivers/dri/i965/brw_draw.c
+++ b/src/mesa/drivers/dri/i965/brw_draw.c
@@ -185,6 +185,7 @@ static void brw_merge_inputs( struct brw_context *brw,
for (i = 0; i < VERT_ATTRIB_MAX; i++) {
brw->vb.inputs[i].glarray = arrays[i];
+ brw->vb.inputs[i].attrib = (gl_vert_attrib) i;
if (arrays[i]->StrideB != 0)
brw->vb.info.varying |= 1 << i;