diff options
author | Samuel Iglesias Gonsalvez <[email protected]> | 2014-10-02 12:37:52 +0200 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2015-01-12 11:20:28 +0100 |
commit | 9567e1048b62635ee2c508dc89710e0a77eac99d (patch) | |
tree | 4ef55c543f5975ac466b670f7ea9908dff9b2094 /src/mesa/swrast/s_triangle.h | |
parent | e1fdcddafe95ca8a62fc86c8219de459fcbd219e (diff) |
mesa: Add _mesa_pack_uint_rgba_row() format conversion function
We will use this later on to handle uint conversion scenarios in a master
convert function.
v2:
- Modify pack_uint_*() function generation to use c.datatype() and
f.datatype().
- Remove UINT_TO_FLOAT() macro usage from pack_uint*()
- Remove "if not f.is_normalized()" conditional as pack_uint*()
functions are only autogenerated for non normalized formats.
v3:
- Add clamping for non-normalized integer formats in pack_uint*()
Signed-off-by: Samuel Iglesias Gonsalvez <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_triangle.h')
0 files changed, 0 insertions, 0 deletions