i965/gen9: Set horizontal alignment for the miptree
authorAnuj Phogat <anuj.phogat@gmail.com>
Wed, 15 Apr 2015 05:06:48 +0000 (22:06 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Mon, 8 Jun 2015 20:57:11 +0000 (13:57 -0700)
commit447410b66436acde4440aeae45f701b0e4502e97
treefc8cdee874992a1b3f0cbdfe503e93d57adf8922
parent126078faca7a9da0f825d3ad07ce9b1183737240
i965/gen9: Set horizontal alignment for the miptree

v3: Use ffs() and a switch loop in
    tr_mode_vertical_texture_alignment() (Ben)

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
src/mesa/drivers/dri/i965/brw_tex_layout.c