[Mesa-dev] [PATCH] addrlib: don't use linear aligned when pow2Pad is selected.

Marek Olšák maraeo at gmail.com
Tue Apr 11 09:01:12 UTC 2017


On Apr 11, 2017 2:32 AM, "Dave Airlie" <airlied at gmail.com> wrote:

On 4 April 2017 at 19:11, Marek Olšák <maraeo at gmail.com> wrote:
> Why don't you set disableLinearOpt instead?

That seems like the wrong answer.

Can the hardware do mipmaps with the base level in linear aligned format,
but the other levels 1D tiled? If not why does addrlib give me that as a
result?


No it can't do that, but why haven't we seen this with radeonsi? It can be
a bug in addrlib indeed.


I'm not sure the user should be setting some other flag to avoid bad addrlib
behaviour.

Surely the linear opt is good for something?


No idea what it's good for.

Marek


Dave.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170411/8f8a9c21/attachment.html>


More information about the mesa-dev mailing list