diff options
author | Eric Anholt <[email protected]> | 2019-11-08 13:49:20 -0800 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-04 19:02:59 +0000 |
commit | 8bc56551da9ce64be3e253c5131a572501ad44a7 (patch) | |
tree | 7afb4e08c18a9a0c5d7c9fea6863cfba8b79768c /src | |
parent | 6cdf523f00398b98c73743f6eb4167409ff065e0 (diff) |
softpipe: Drop the raw_to* part of the tile cache interface.
Nothing else uses it, so make it static.
Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2744>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/util/u_tile.c | 6 | ||||
-rw-r--r-- | src/gallium/auxiliary/util/u_tile.h | 18 |
2 files changed, 3 insertions, 21 deletions
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 @@ -100,24 +100,6 @@ pipe_put_tile_rgba_format(struct pipe_transfer *pt, 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, uint x, uint y, uint w, uint h, |