zink: remove hack-comment

This isn't a hack, it's how this *should* work.

Acked-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
Erik Faye-Lund
2019-06-20 12:03:20 +02:00
parent 2a7302075d
commit 0296e8981d
+1 -1
View 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;