From: Erik Faye-Lund Date: Thu, 20 Jun 2019 10:11:15 +0000 (+0200) Subject: zink: rename sampler-view destroy function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f90ee9e33a3a9a99b3bb3aceee78b96a7c7ecfcd;p=mesa.git zink: rename sampler-view destroy function This name is more consistent with other functions. Acked-by: Jordan Justen --- diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c index e28f8d7cc66..b649137b2e6 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -243,7 +243,7 @@ zink_create_sampler_view(struct pipe_context *pctx, struct pipe_resource *pres, } static void -zink_destroy_sampler_view(struct pipe_context *pctx, +zink_sampler_view_destroy(struct pipe_context *pctx, struct pipe_sampler_view *pview) { struct zink_sampler_view *view = zink_sampler_view(pview); @@ -1305,7 +1305,7 @@ zink_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) ctx->base.create_sampler_view = zink_create_sampler_view; ctx->base.set_sampler_views = zink_set_sampler_views; - ctx->base.sampler_view_destroy = zink_destroy_sampler_view; + ctx->base.sampler_view_destroy = zink_sampler_view_destroy; ctx->base.create_vs_state = zink_create_vs_state; ctx->base.bind_vs_state = zink_bind_vs_state;