mesa: preserve 10 bits of precision in the texstore general path for ARGB2101010
authorMarek Olšák <maraeo@gmail.com>
Wed, 22 Dec 2010 18:29:56 +0000 (19:29 +0100)
committerMarek Olšák <maraeo@gmail.com>
Tue, 4 Jan 2011 20:59:56 +0000 (21:59 +0100)
commit50630f9016bdf0ea33ae1007c5a523cdcde3e3c9
treecd9a19d1c36c44f49af5370e59dce2c99c62c5fa
parent73e8a2738743035e1347571ba630747d2ec33a2d
mesa: preserve 10 bits of precision in the texstore general path for ARGB2101010

Use make_temp_float_image instead of _make_temp_chan_image.
The latter converts the texture to 8 bits/component, losing 2 bits.
src/mesa/main/colormac.h
src/mesa/main/texfetch_tmp.h
src/mesa/main/texstore.c