diff options
author | Iago Toral Quiroga <[email protected]> | 2014-12-05 13:10:08 +0100 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2015-01-12 11:20:28 +0100 |
commit | 559a1072dab3c67f06fe23f4ad0dc15b771608c9 (patch) | |
tree | 08f8a0b02a95e9b4d7c50d04e4325e78da476fda /src/mesa/main/pack.c | |
parent | b1f0229140a66a36de63408b8a3eb45e11e43710 (diff) |
mesa: Add helper to convert a GL format and type to a mesa (array) format.
v2 after review by Jason Ekstrand:
- Move _mesa_format_from_format_and_type to glformats
- Return a mesa_format for GL_UNSIGNED_INT_8_8_8_8(_REV)
v3:
- Adapted to the new implementation of mesa_array_format as a plain uint32_t
bitfield.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/main/pack.c')
0 files changed, 0 insertions, 0 deletions