summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_pipe_validate.c
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2013-08-06 20:25:53 -0400
committerZack Rusin <zackr@vmware.com>2013-08-08 20:54:03 -0400
commit1d425c4c6df2affd3b36b98e28357c59f7f02f58 (patch)
tree637b73ee59d30add455404f7aa38bc7e9f9511ca /src/gallium/auxiliary/draw/draw_pipe_validate.c
parent57cd3267782fcf92d1e7d772760956516d4367df (diff)
downloadexternal_mesa3d-1d425c4c6df2affd3b36b98e28357c59f7f02f58.zip
external_mesa3d-1d425c4c6df2affd3b36b98e28357c59f7f02f58.tar.gz
external_mesa3d-1d425c4c6df2affd3b36b98e28357c59f7f02f58.tar.bz2
draw: reset the vertex id when injecting new primitive id
Without reseting the vertex id, with primitives where the same vertex is used with different primitives (e.g. tri/lines strips) our vbuf module won't re-emit those vertices with the changed primitive id. So lets reset the vertex id whenever injecting new primitive id to make sure that the vertex data is correctly emitted. Signed-off-by: Zack Rusin <zackr@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pipe_validate.c')
0 files changed, 0 insertions, 0 deletions