softpipe: Drop the raw_to* part of the tile cache interface.
authorEric Anholt <eric@anholt.net>
Fri, 8 Nov 2019 21:49:20 +0000 (13:49 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 4 Feb 2020 19:02:59 +0000 (19:02 +0000)
Nothing else uses it, so make it static.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2744>

src/gallium/auxiliary/util/u_tile.c
src/gallium/auxiliary/util/u_tile.h

index fa85c7fbadb6a2cc92372c585fd592b44116098e..ed76a7ef83d2ef450fe71a71e4451c18765ac170 100644 (file)
@@ -354,7 +354,7 @@ x32_s8_get_tile_rgba(const unsigned *src,
    }
 }
 
-void
+static void
 pipe_tile_raw_to_rgba(enum pipe_format format,
                       const void *src,
                       uint w, uint h,
@@ -401,7 +401,7 @@ pipe_tile_raw_to_rgba(enum pipe_format format,
    }
 }
 
-void
+static void
 pipe_tile_raw_to_unsigned(enum pipe_format format,
                           const void *src,
                           uint w, uint h,
@@ -413,7 +413,7 @@ pipe_tile_raw_to_unsigned(enum pipe_format format,
                        0, 0, w, h);
 }
 
-void
+static void
 pipe_tile_raw_to_signed(enum pipe_format format,
                           void *src,
                           uint w, uint h,
index b8dc89687e2faf625bf6f2e2b2121c88bc8ca6e6..d042a6018ac225c1dffb4008c33994dbd0dfb4eb 100644 (file)
@@ -99,24 +99,6 @@ pipe_put_tile_rgba_format(struct pipe_transfer *pt,
                           enum pipe_format format,
                           const float *p);
 
-void
-pipe_tile_raw_to_rgba(enum pipe_format format,
-                      const void *src,
-                      uint w, uint h,
-                      float *dst, unsigned dst_stride);
-
-void
-pipe_tile_raw_to_unsigned(enum pipe_format format,
-                          const void *src,
-                          uint w, uint h,
-                          unsigned *dst, unsigned dst_stride);
-
-void
-pipe_tile_raw_to_signed(enum pipe_format format,
-                        void *src,
-                        uint w, uint h,
-                        int *dst, unsigned dst_stride);
-
 void
 pipe_get_tile_ui_format(struct pipe_transfer *pt,
                         const void *src,