Skip to content
Commit 9b2ac06c authored by Faith Ekstrand's avatar Faith Ekstrand Committed by Emil Velikov
Browse files

i965/miptree: Use the tiling from the modifier instead of the BO



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.

Reviewed-by: default avatarDaniel Stone <daniels@collabora.com>
Reviewed-by: default avatarKenneth Graunke <kenneth@whitecape.org>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit ad424b22)
parent be2a7b6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment