diff options
author | Christoph Bumiller <[email protected]> | 2013-07-24 20:41:31 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2013-07-24 20:46:38 +0200 |
commit | 5c37039797938e43a7dfb6c7d39a1f0bb4f32df3 (patch) | |
tree | 70ce711339ddc6f4430e603ea343721f14f8dd13 /src/gallium/drivers/nvc0 | |
parent | 1e003b44e83dde3912ec48eb3df0e25802b5101e (diff) |
nv50,nvc0: s/uint16/uint32 for constant buffer offset
Looks like a thinko, "Hey, constant buffers can be at most 64 KiB
in size, offset can't be larger." But it can, of course.
I think piglit lacks a test for UBO and BindBufferRange that
tests if it actually works.
Diffstat (limited to 'src/gallium/drivers/nvc0')
-rw-r--r-- | src/gallium/drivers/nvc0/nvc0_stateobj.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_stateobj.h b/src/gallium/drivers/nvc0/nvc0_stateobj.h index edab60bea5b..80c33424032 100644 --- a/src/gallium/drivers/nvc0/nvc0_stateobj.h +++ b/src/gallium/drivers/nvc0/nvc0_stateobj.h @@ -38,7 +38,7 @@ struct nvc0_constbuf { const void *data; } u; uint32_t size; - uint16_t offset; + uint32_t offset; boolean user; /* should only be TRUE if u.data is valid and non-NULL */ }; |