i965/miptree: Add an explicit tiling parameter to create_for_bo
authorJason Ekstrand <jason@jlekstrand.net>
Sat, 18 Nov 2017 00:10:53 +0000 (16:10 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 22 Jan 2018 07:07:16 +0000 (23:07 -0800)
commit0465dd13d26451e2a57684d1ca6329dfbdeac9f4
tree5c10929037b52d252b87ee5963c222a7c6c8d2c1
parent4584c4ef049ac604ebbeab56992d569e4d1f8a46
i965/miptree: Add an explicit tiling parameter to create_for_bo

Otherwise, create_for_bo will just grab the tiling from the BO which is
not what we want when using modifiers.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/drivers/dri/i965/brw_blorp.c
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_mipmap_tree.h
src/mesa/drivers/dri/i965/intel_pixel_draw.c
src/mesa/drivers/dri/i965/intel_tex_image.c