>
> @@ -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.
signature.asc
Description: PGP signature
_______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
