[Mesa-dev] [PATCH 5/5] nvc0: remove unused nv50_tsc_wrap_mode() function
Ilia Mirkin
imirkin at alum.mit.edu
Tue May 12 08:22:47 PDT 2015
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
On Tue, May 12, 2015 at 11:13 AM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
> src/gallium/drivers/nouveau/nvc0/nvc0_state.c | 18 ------------------
> 1 file changed, 18 deletions(-)
>
> diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_state.c b/src/gallium/drivers/nouveau/nvc0/nvc0_state.c
> index dca06f4..63c3c52 100644
> --- a/src/gallium/drivers/nouveau/nvc0/nvc0_state.c
> +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_state.c
> @@ -413,24 +413,6 @@ nvc0_zsa_state_delete(struct pipe_context *pipe, void *hwcso)
> #define NV50_TSC_WRAP_CASE(n) \
> case PIPE_TEX_WRAP_##n: return NV50_TSC_WRAP_##n
>
> -static INLINE unsigned
> -nv50_tsc_wrap_mode(unsigned wrap)
> -{
> - switch (wrap) {
> - NV50_TSC_WRAP_CASE(REPEAT);
> - NV50_TSC_WRAP_CASE(MIRROR_REPEAT);
> - NV50_TSC_WRAP_CASE(CLAMP_TO_EDGE);
> - NV50_TSC_WRAP_CASE(CLAMP_TO_BORDER);
> - NV50_TSC_WRAP_CASE(CLAMP);
> - NV50_TSC_WRAP_CASE(MIRROR_CLAMP_TO_EDGE);
> - NV50_TSC_WRAP_CASE(MIRROR_CLAMP_TO_BORDER);
> - NV50_TSC_WRAP_CASE(MIRROR_CLAMP);
> - default:
> - NOUVEAU_ERR("unknown wrap mode: %d\n", wrap);
> - return NV50_TSC_WRAP_REPEAT;
> - }
> -}
> -
> static void
> nvc0_sampler_state_delete(struct pipe_context *pipe, void *hwcso)
> {
> --
> 2.4.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list