From 0e8ad4cc749626eebbc7f916e551bbfd80b75023 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Thu, 8 Mar 2012 21:41:41 +0100 Subject: nv50,nvc0: fix handling of user vbufs with stride < access size --- src/gallium/drivers/nv50/nv50_context.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/nv50/nv50_context.h') diff --git a/src/gallium/drivers/nv50/nv50_context.h b/src/gallium/drivers/nv50/nv50_context.h index 0dd6c16bb48..ab185194786 100644 --- a/src/gallium/drivers/nv50/nv50_context.h +++ b/src/gallium/drivers/nv50/nv50_context.h @@ -116,8 +116,8 @@ struct nv50_context { struct pipe_index_buffer idxbuf; uint32_t vbo_fifo; /* bitmask of vertex elements to be pushed to FIFO */ uint32_t vbo_user; /* bitmask of vertex buffers pointing to user memory */ - unsigned vbo_min_index; /* from pipe_draw_info, for vertex upload */ - unsigned vbo_max_index; + uint32_t vb_elt_first; /* from pipe_draw_info, for vertex upload */ + uint32_t vb_elt_limit; /* max - min element (count - 1) */ struct pipe_sampler_view *textures[3][PIPE_MAX_SAMPLERS]; unsigned num_textures[3]; -- cgit v1.2.3