i965: Check for miptree pitch alignment before using intel_miptree_map_movntdqa()
authorAnuj Phogat <anuj.phogat@gmail.com>
Tue, 5 May 2015 06:10:28 +0000 (23:10 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Mon, 15 Jun 2015 16:07:28 +0000 (09:07 -0700)
commit278460279b4e089d51a24fb01dc56dc1e88dcb72
tree664041299f0f139cb0408ba0b2071f43260a9735
parent84d27c32d238ca7a7b115bf190e7e527b7f70e92
i965: Check for miptree pitch alignment before using intel_miptree_map_movntdqa()

We have an assert() in intel_miptree_map_movntdqa() which expects
the pitch to be 16 byte aligned.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c