zink: remove hack-comment
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 20 Jun 2019 10:03:20 +0000 (12:03 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 28 Oct 2019 08:51:45 +0000 (08:51 +0000)
This isn't a hack, it's how this *should* work.

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

index 015a266dff15219a243c0158c684d62620dbd8e5..7a829f5294bc5a0af8442abd1b8be4fc00b8e16c 100644 (file)
@@ -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;