Skip to content
Snippets Groups Projects
Commit 60076a61 authored by Mathias Fröhlich's avatar Mathias Fröhlich
Browse files

mesa: Factor out index function that will have multiple use.


For access to glArrayElement methods factor out a function to
get the table lookup index for normalized/integer/double access.
The function will be used in the next patch at least twice.

v2: Use vertex_format_to_index instead of NORM_IDX.

Reviewed-by: default avatarBrian Paul <brianp@vmware.com>
Signed-off-by: default avatarMathias Fröhlich <Mathias.Froehlich@web.de>
parent 91899495
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