i965: Rename use_linear_1d_layout() and make it global
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)
commitaf0853033296a4db3c48352e8cb60f8209424f79
tree02e391c49621a69cb10169a11711104faf605989
parent06687564479be1a2eed5842cfe4ad85dd099261b
i965: Rename use_linear_1d_layout() and make it global

This function will be utilised in later patches.

V2: Make both pointers constants (Topi)

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