commit | bc6668e35d3cbadf4ec37a2d4490df1b4b002729 | [log] [tgz] |
---|---|---|
author | Fredrik Höglund <fredrik@kde.org> | Mon Mar 02 18:39:50 2015 +0100 |
committer | Fredrik Höglund <fredrik@kde.org> | Fri May 08 15:31:03 2015 +0200 |
tree | 6c11930b24388824bae46988c085e0e40307e6d3 | |
parent | 308926853d132a4d096e70447a262bef1e576789 [diff] |
mesa: Refactor VertexAttrib[I|L]Format The only difference between these functions is the legal types and sizes, so consolidate the code into a single vertex_attrib_format() function and call it from all three entry points. Reviewed-by: Laura Ekstrand <laura@jlekstrand.net>