i965: use _mesa_align_malloc in intel_miptree_map_movntdqa
authorTapani Pälli <tapani.palli@intel.com>
Thu, 5 Jun 2014 04:48:09 +0000 (07:48 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 5 Jun 2014 06:00:17 +0000 (09:00 +0300)
commitcf29913aa156accbe60cb35f9a0bd2c21726cfa3
tree22ddeace767dd20e88f2cffd5a216d391c1fdd7d
parent3c77d2a113171bf18879664884a9fa0976d02f29
i965: use _mesa_align_malloc in intel_miptree_map_movntdqa

This fixes case where we have 1x1 size buffer and misalignment is 0.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79616
src/mesa/drivers/dri/i965/intel_mipmap_tree.c