i965: Ensure that texture validation is skipped for immutable textures.
authorChris Forbes <chrisf@ijw.co.nz>
Tue, 21 Jan 2014 09:48:30 +0000 (22:48 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Thu, 10 Apr 2014 06:27:41 +0000 (18:27 +1200)
commit93fa16bdd13e67bc3a824bf3408f207c4ff0e894
tree5309e61f193d14f4fee47f7f0f4b3675c485989d
parenta98b675945bc7920ab7d2bbbf0b9641693a8de5d
i965: Ensure that texture validation is skipped for immutable textures.

If we were to relayout the miptree, we'd break any views that are
sharing it.

(Simplified based on suggestions from Eric)

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/intel_tex_validate.c