diff options
author | Zack Rusin <zack@tungstengraphics.com> | 2007-12-17 14:36:31 -0500 |
---|---|---|
committer | Zack Rusin <zack@tungstengraphics.com> | 2007-12-17 14:36:31 -0500 |
commit | aeb53622814d340323c766dd33e1dd9a25f33e7a (patch) | |
tree | 81ed78f173f959a38cc190acff9e72cc3e46b3d1 /src/mesa/pipe/i965simple | |
parent | 531efbab75ea7d05e1af4640814f19cb5594374e (diff) |
i965: index the destination offset with regards to the current index
Diffstat (limited to 'src/mesa/pipe/i965simple')
-rw-r--r-- | src/mesa/pipe/i965simple/brw_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/i965simple/brw_state.c b/src/mesa/pipe/i965simple/brw_state.c index e7f5a27a38..2008853654 100644 --- a/src/mesa/pipe/i965simple/brw_state.c +++ b/src/mesa/pipe/i965simple/brw_state.c @@ -289,7 +289,7 @@ static void brw_set_vertex_element(struct pipe_context *pipe, el.vep.ve0.valid = 1; el.vep.ve0.vertex_buffer_index = element->vertex_buffer_index; - el.vep.ve1.dst_offset = element->dst_offset; + el.vep.ve1.dst_offset = index * 4; el.vep.ve1.vfcomponent3 = BRW_VFCOMPONENT_STORE_SRC; el.vep.ve1.vfcomponent2 = BRW_VFCOMPONENT_STORE_SRC; el.vep.ve1.vfcomponent1 = BRW_VFCOMPONENT_STORE_SRC; |