mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 09:40:08 +01:00
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.
This commit is contained in:
parent
1e003b44e8
commit
5c37039797
2 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ struct nv50_constbuf {
|
|||
const uint8_t *data;
|
||||
} u;
|
||||
uint32_t size; /* max 65536 */
|
||||
uint16_t offset;
|
||||
uint32_t offset;
|
||||
boolean user; /* should only be TRUE if u.data is valid and non-NULL */
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue