util: Expose util_format_fits_8unorm().
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 2 Jul 2010 15:52:19 +0000 (16:52 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 2 Jul 2010 17:45:48 +0000 (18:45 +0100)
src/gallium/auxiliary/util/u_format.c
src/gallium/auxiliary/util/u_format.h

index 3168a1fab4807b9576834f9ccf39e132aa86d4c6..43d09f1960779965dbdfc9d233c63761c5ab00c4 100644 (file)
@@ -120,7 +120,7 @@ util_format_write_4ub(enum pipe_format format, const uint8_t *src, unsigned src_
 }
 
 
-static INLINE boolean
+boolean
 util_format_fits_8unorm(const struct util_format_description *format_desc)
 {
    unsigned chan;
index fd95bea1a7bf897f53cfe5a3c9c1adf8f844a414..a4f282979b0a5bb50dc110b59dc28a2a26199cb8 100644 (file)
@@ -663,6 +663,9 @@ util_format_write_4ub(enum pipe_format format,
  * Generic format conversion;
  */
 
+boolean
+util_format_fits_8unorm(const struct util_format_description *format_desc);
+
 void
 util_format_translate(enum pipe_format dst_format,
                       void *dst, unsigned dst_stride,