[Mesa-dev] [PATCH 2/2] i965/miptree: Use the tiling from the modifier instead of the BO

Jason Ekstrand jason at jlekstrand.net
Tue Dec 5 15:57:10 UTC 2017


On Tue, Dec 5, 2017 at 1:22 AM, Daniel Stone <daniel at fooishbar.org> wrote:

> Hi,
>
> On 18 November 2017 at 00:10, Jason Ekstrand <jason at jlekstrand.net> wrote:
> > This fixes a bug where we were taking the tiling from the BO regardless
> > of what the modifier said.  When we got images in from Vulkan where it
> > doesn't set the tiling on the BO, we would treat them as linear even
> > though the modifier expressly said to treat it as Y-tiled.
>
> For some reason I thought Ken had already reviewed this and it landed,
> until Kristian mentioned last night.


There's been some discussion about what the right thing to do is here.
I've got a patch (which is now landed) which will make us set the tiling
from Vulkan just like GL does.  It's rather annoying but I think that's
marginally better.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171205/a2c61458/attachment-0001.html>


More information about the mesa-dev mailing list