summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_context.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-03-08 21:41:41 +0100
committerChristoph Bumiller <[email protected]>2012-04-14 06:14:21 +0200
commit0e8ad4cc749626eebbc7f916e551bbfd80b75023 (patch)
treed9fa2985e1db4f5497737de639a9a631ab3a0505 /src/gallium/drivers/nvc0/nvc0_context.h
parent7a40ae4a31f3ab526706fdfda7631d54f094512a (diff)
nv50,nvc0: fix handling of user vbufs with stride < access size
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_context.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_context.h b/src/gallium/drivers/nvc0/nvc0_context.h
index 32de91e5644..7072b5918fa 100644
--- a/src/gallium/drivers/nvc0/nvc0_context.h
+++ b/src/gallium/drivers/nvc0/nvc0_context.h
@@ -120,8 +120,8 @@ struct nvc0_context {
struct pipe_index_buffer idxbuf;
uint32_t constant_vbos;
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[5][PIPE_MAX_SAMPLERS];
unsigned num_textures[5];