[Mesa-dev] [PATCH 4/7] i965/gen9: Reuse YF alignment tables in tr_mode_..._texture_alignment()
Emil Velikov
emil.l.velikov at gmail.com
Fri Aug 14 11:03:19 PDT 2015
Hi Anuj,
On 13 August 2015 at 22:51, Anuj Phogat <anuj.phogat at gmail.com> wrote:
...
> + if (mt->tr_mode == INTEL_MIPTREE_TRMODE_YS)
> + ret_align *= multiplier;
Out of curiosity, have you noticed if the compiler is clever enough to
optimise the above multiplication to a shift ?
Thanks
Emil
More information about the mesa-dev
mailing list