From: Eric Anholt Date: Fri, 8 Nov 2019 21:49:20 +0000 (-0800) Subject: softpipe: Drop the raw_to* part of the tile cache interface. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bc56551da9ce64be3e253c5131a572501ad44a7;p=mesa.git softpipe: Drop the raw_to* part of the tile cache interface. Nothing else uses it, so make it static. Reviewed-by: Marek Olšák Part-of: --- diff --git a/src/gallium/auxiliary/util/u_tile.c b/src/gallium/auxiliary/util/u_tile.c index fa85c7fbadb..ed76a7ef83d 100644 --- a/src/gallium/auxiliary/util/u_tile.c +++ b/src/gallium/auxiliary/util/u_tile.c @@ -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, diff --git a/src/gallium/auxiliary/util/u_tile.h b/src/gallium/auxiliary/util/u_tile.h index b8dc89687e2..d042a6018ac 100644 --- a/src/gallium/auxiliary/util/u_tile.h +++ b/src/gallium/auxiliary/util/u_tile.h @@ -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,