i965: Allocate texture buffer in intelTexImage
authorAnuj Phogat <anuj.phogat@gmail.com>
Thu, 5 Feb 2015 20:24:57 +0000 (12:24 -0800)
committerAnuj Phogat <anuj.phogat@gmail.com>
Wed, 25 Feb 2015 22:11:46 +0000 (14:11 -0800)
commit94d88cb46870ad7da8ae9e98ace524319c45bb8b
tree5b68dea46225535af47926bd5b1276b6ff1e7faf
parent82f6d17300bcdf407bffddba03533c702fe262f3
i965: Allocate texture buffer in intelTexImage

before calling _mesa_meta_pbo_TexSubImage(). This will be used in
later patches and will be required in Skylake to get the tile
resource mode of miptree before calling _mesa_meta_pbo_TexSubImage().

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Neil Roberts <neil@linux.intel.com>
src/mesa/drivers/dri/i965/intel_tex_image.c