i965: Add driver hook for TextureView
authorChris Forbes <chrisf@ijw.co.nz>
Tue, 21 Jan 2014 09:54:10 +0000 (22:54 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Thu, 10 Apr 2014 06:27:41 +0000 (18:27 +1200)
commitb7f011fdc9007c35921f6271b983ef4ccc6799e4
tree9d1d5f0de8625edfb4ceda154bad1a5aa4be22aa
parent93fa16bdd13e67bc3a824bf3408f207c4ff0e894
i965: Add driver hook for TextureView

We need to wire the original texture's mt into the view. All the hard
work of setting up an appropriate tree of gl_texture_image structures
has already been done by core mesa.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/intel_tex.c