On Tue, Apr 26, 2011 at 4:57 PM, Brian Paul <bri...@vmware.com> wrote:
> On 04/26/2011 04:57 AM, Marek Olšák wrote: > >> Hi, >> >> this series implements GL_EXT_texture_shared_exponent. >> >> The file rgb9e5.h has all its functions inline, because it's shared >> between classic and gallium. In that file, there are functions >> rgb9e5_to_float3 and float3_to_rgb9e5, which are used pretty much >> everywhere. >> > > I think I'd opt to put the code for this in gallium/util and include it in > Mesa with a wrapper header. In the future I think we're more likely to use > additional Gallium utility code in Mesa than vice versa. Here's a follow-up patch incorporating most of the suggestions: http://cgit.freedesktop.org/~mareko/mesa/commit/?id=1ac0d968df40dcb6911567bec1d8ec4ebcb6a2d2 Not sure how you would like the wrapper header to look like. FWIW I don't think it's terribly important though. Marek
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev