From 0296e8981dad3f565f8154b96a27f1c22a1427c2 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 20 Jun 2019 12:03:20 +0200 Subject: [PATCH] zink: remove hack-comment This isn't a hack, it's how this *should* work. Acked-by: Jordan Justen --- src/gallium/drivers/zink/zink_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_resource.c b/src/gallium/drivers/zink/zink_resource.c index 015a266..7a829f5 100644 --- a/src/gallium/drivers/zink/zink_resource.c +++ b/src/gallium/drivers/zink/zink_resource.c @@ -425,7 +425,7 @@ zink_transfer_map(struct pipe_context *pctx, struct pipe_resource templ = *pres; templ.usage = PIPE_USAGE_STAGING; templ.target = PIPE_BUFFER; - templ.bind = 0; // HACK: there's no transfer binding, but usage should tell us enough + templ.bind = 0; templ.width0 = trans->base.layer_stride * box->depth; templ.height0 = templ.depth0 = 0; templ.last_level = 0; -- 2.7.4