diff options
author | Samuel Iglesias Gonsalvez <[email protected]> | 2014-10-08 16:02:21 +0200 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2015-01-12 11:20:28 +0100 |
commit | f8d160fc96cccb46040d47b4dead31c81375e6b6 (patch) | |
tree | 8ebd1fa628e53a6b0a630587b2694769721416a8 /src/mesa/swrast | |
parent | 9567e1048b62635ee2c508dc89710e0a77eac99d (diff) |
mesa/format_pack: Add _mesa_pack_int_rgba_row()
This will be used to unify code in pack.c.
v2:
- Modify pack_int_*() function generator to use c.datatype() and
f.datatype()
v3:
- Only autogenerate pack_int_*() functions for non-normalized integer
formats.
v4:
- Use _mesa_unsigned_to_unsigned() in pack_int_*() because, in order
to be able to pack both signed and unsigned formats, we need to
sign-extend.
Signed-off-by: Samuel Iglesias Gonsalvez <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/swrast')
0 files changed, 0 insertions, 0 deletions