diff options
author | Christoph Bumiller <[email protected]> | 2012-03-08 21:41:41 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-04-14 06:14:21 +0200 |
commit | 0e8ad4cc749626eebbc7f916e551bbfd80b75023 (patch) | |
tree | d9fa2985e1db4f5497737de639a9a631ab3a0505 /src/gallium/drivers/nvc0/nvc0_stateobj.h | |
parent | 7a40ae4a31f3ab526706fdfda7631d54f094512a (diff) |
nv50,nvc0: fix handling of user vbufs with stride < access size
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_stateobj.h')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_stateobj.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_stateobj.h b/src/gallium/drivers/nvc0/nvc0_stateobj.h index fd932be1682..16d336cfab2 100644 --- a/src/gallium/drivers/nvc0/nvc0_stateobj.h +++ b/src/gallium/drivers/nvc0/nvc0_stateobj.h @@ -43,6 +43,7 @@ struct nvc0_vertex_stateobj { unsigned num_elements; uint32_t instance_elts; uint32_t instance_bufs; + uint16_t vb_access_size[PIPE_MAX_ATTRIBS]; boolean need_conversion; /* e.g. VFETCH cannot convert f64 to f32 */ unsigned size; /* size of vertex in bytes (when packed) */ struct nvc0_vertex_element element[0]; |