Skip to content
Snippets Groups Projects
Commit d2c4f714 authored by Kenneth Graunke's avatar Kenneth Graunke
Browse files

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: default avatarIan Romanick <ian.d.romanick@intel.com>
parent c1b1cad5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment