summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_stateobj.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/nv50/nv50_stateobj.h
parent7a40ae4a31f3ab526706fdfda7631d54f094512a (diff)
nv50,nvc0: fix handling of user vbufs with stride < access size
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_stateobj.h')
-rw-r--r--src/gallium/drivers/nv50/nv50_stateobj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_stateobj.h b/src/gallium/drivers/nv50/nv50_stateobj.h
index b056e19ea50..188406da600 100644
--- a/src/gallium/drivers/nv50/nv50_stateobj.h
+++ b/src/gallium/drivers/nv50/nv50_stateobj.h
@@ -44,6 +44,7 @@ struct nv50_vertex_stateobj {
unsigned num_elements;
uint32_t instance_elts;
uint32_t instance_bufs;
+ uint16_t vb_access_size[PIPE_MAX_ATTRIBS];
boolean need_conversion;
unsigned vertex_size;
unsigned packet_vertex_limit;