[Mesa-dev] [PATCH 1/2] i965: Generalize intel_upload.c to support multiple uploaders.

Kenneth Graunke kenneth at whitecape.org
Fri Mar 2 08:44:56 UTC 2018


On Thursday, March 1, 2018 4:16:13 PM PST Chris Wilson wrote:
> Quoting Kenneth Graunke (2018-03-01 23:39:54)
> > I'd like to reuse the upload logic for a new program cache, but the
> > buffers will need to have a different lifetime than the default
> > uploader, and also some address space restrictions.
> > 
> > This makes it a bit more like u_upload_mgr.
> 
> To be clear, this patch is just prep work that should be no functional
> changes? To my tired eyes, it should be the same code with a different
> lick of paint, but it would be nice to know if I missed something.
> -Chris

Correct - it basically makes things take a uploader struct instead of
always referring to brw->upload, so you can have more than one of them
if you like.

It works exactly the same other than that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180302/a91e7096/attachment.sig>


More information about the mesa-dev mailing list