[Mesa-dev] [PATCH] panfrost: Add the sampled texture BO to the job
Alyssa Rosenzweig
alyssa.rosenzweig at collabora.com
Mon Jul 1 15:28:03 UTC 2019
>
> @@ -848,6 +850,7 @@ panfrost_upload_tex(
> for (unsigned l = first_level; l <= last_level; ++l) {
> for (unsigned f = first_layer; f <= last_layer; ++f) {
>
> + panfrost_job_add_bo(job, rsrc->bo);
> view->hw.payload[idx++] =
> panfrost_get_texture_address(rsrc, l, f) + afbc_bit;
The bo is guaranteed to be the same for all levels and layers. So this
should be pulled out of both loops.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190701/9235d929/attachment.sig>
More information about the mesa-dev
mailing list