zink: rename sampler-view destroy function
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 20 Jun 2019 10:11:15 +0000 (12:11 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 28 Oct 2019 08:51:45 +0000 (08:51 +0000)
This name is more consistent with other functions.

Acked-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/zink/zink_context.c

index e28f8d7cc666a8b4a22d760bfcc0bd4beb587c01..b649137b2e616ebe11bf8e66e7b649ca43a86c4b 100644 (file)
@@ -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;