On Tue, Jan 24, 2012 at 8:34 PM, Eric Anholt <[email protected]> wrote: > In the core, we always treat spans of int/uint data as uint, so this > extract function was truncating storage of integer pixel data to a n > int texture to (0, max_int) instead of (min_int, max_int). There is > probably missing code for handling truncation on conversion between > pixel formats, still, but this does improve things. > > NOTE: This is a candidate for the 8.0 branch. > --- > src/mesa/main/pack.c | 45 ++++++++++++--------------------------------- > 1 files changed, 12 insertions(+), 33 deletions(-)
Reviewed-by: Brian Paul <[email protected]> _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
