i965: Adjust map/unmap code for MinLevel/MinLayer
authorChris Forbes <chrisf@ijw.co.nz>
Mon, 20 Jan 2014 08:30:35 +0000 (21:30 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Thu, 10 Apr 2014 06:27:41 +0000 (18:27 +1200)
commitba3499ba01135c54d9b28a4bae916845cdbb64b7
tree5f32a7341e0c7e33ca01b7c13c6e1831db6fa91c
parentca1d1b2fc1d1f7fb5dbbc0719c6c899b97bc9e6b
i965: Adjust map/unmap code for MinLevel/MinLayer

This allows core mesa's TexSubImage paths etc to work correctly
with views which have nonzero MinLevel or MinLayer.

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