[Mesa-dev] [PATCH 07/10] radv/image: don't rescale width/height if the format isn't changing

Dave Airlie airlied at gmail.com
Mon Aug 21 19:47:53 UTC 2017


On 21 August 2017 at 17:44, Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl> wrote:
> The old code would just do a * blocksize / blocksize , which is the
> identity (as long as we don't overflow).  Did this cause any issues?

Nope, just seemed like unnecessary cpu usage.

Dave.


More information about the mesa-dev mailing list