From: Erik Faye-Lund Date: Thu, 20 Jun 2019 10:03:20 +0000 (+0200) Subject: zink: remove hack-comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0296e8981dad3f565f8154b96a27f1c22a1427c2;p=mesa.git zink: remove hack-comment This isn't a hack, it's how this *should* work. Acked-by: Jordan Justen --- diff --git a/src/gallium/drivers/zink/zink_resource.c b/src/gallium/drivers/zink/zink_resource.c index 015a266dff1..7a829f5294b 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;