i965/gen9: Set vertical 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)
commit9111377978edf1c688811f877896942be9f8a332
tree7d8026146e4a28cf96c4f886fcd31ebc1ada011d
parent447410b66436acde4440aeae45f701b0e4502e97
i965/gen9: Set vertical alignment for the miptree

v3: Use ffs() and a switch loop in
    tr_mode_horizontal_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