diff options
author | Kenneth Graunke <[email protected]> | 2017-06-22 11:16:06 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-06-28 16:21:44 -0700 |
commit | d2c4f714d1a7752ad773a2662bf9800e0ea0b0c1 (patch) | |
tree | b5d7c9578230b677c09c6da345974fec21eb2f7f /src/mesa/main/texparam.c | |
parent | c1b1cad586115ee37bd808b4241ad881c6ade63e (diff) |
i965: Drop index buffer re-alignment code.
This shouldn't ever happen - GL requires it to be aligned:
"Clients must align data elements consistent with the requirements
of the client platform, with an additional base-level requirement
that an offset within a buffer to a datum comprising N basic
machine units be a multiple of N."
Mesa should reject unaligned index buffers for us - we shouldn't have
to handle them in the driver.
Note that Gallium already makes this assumption.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/texparam.c')
0 files changed, 0 insertions, 0 deletions