i965/gen9: Set vertical and horizontal surface alignments
authorAnuj Phogat <anuj.phogat@gmail.com>
Wed, 15 Apr 2015 05:06:48 +0000 (22:06 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Tue, 16 Jun 2015 21:52:48 +0000 (14:52 -0700)
commit54591bb67f189820ef0d61b040179abbd5ecf78a
treebacc1d27d58abd7061c13df16811469b7fbc3c4c
parent6c380d42b161da977d164ccf75ccc25a2e056bb1
i965/gen9: Set vertical and horizontal surface alignments

Patch sets the alignments for texture and renderbuffer surfaces.

V3: Make changes inside horizontal_alignment() and
    vertical_alignment() (Topi)

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/gen8_surface_state.c