util: ubyte_to_float and float_to_ubyte whenever possible.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 9 Apr 2010 15:53:07 +0000 (16:53 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 9 Apr 2010 15:53:07 +0000 (16:53 +0100)
commit142fb27c3b4c530174968c5f84fd1bd787b8e3de
tree3dde4edea442d7b175516aab18db45f2caad43fe
parent866d22ccce93fa507aca06aaa25217d18b1cdd0f
util: ubyte_to_float and float_to_ubyte whenever possible.

More accurate results.

We should probably generalize these functions for more cases.
src/gallium/auxiliary/util/u_format_pack.py