mesa: Make nonlinear_to_linear() function available outside file
authorAnuj Phogat <anuj.phogat@gmail.com>
Tue, 13 Nov 2012 01:58:46 +0000 (17:58 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 8 Dec 2012 00:29:48 +0000 (16:29 -0800)
commit38d523584c918ee255c669936a4d16b1c9657e85
treeb94253cda43206ae0430cd59c93cf0e763552859
parente519b8a9af0f994d6b33e748ada463ff19df7ab8
mesa: Make nonlinear_to_linear() function available outside file

This patch changes nonlinear_to_linear() function to non static inline
and makes it available outside format_unpack.c. Also, removes the
duplicate copies in other files.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/format_unpack.c
src/mesa/main/format_unpack.h
src/mesa/main/texcompress_s3tc.c