i965/gen4-5: Cope with immutable-format texture revalidation
authorChris Forbes <chrisf@ijw.co.nz>
Mon, 8 Dec 2014 07:37:00 +0000 (20:37 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sat, 14 Mar 2015 02:55:17 +0000 (15:55 +1300)
commitf68a973dfb8926ac872b0b0e3b4b5c2163389d06
treece9febf22177565009692ef80b21114745096938
parent8ed1b65b62665810291562b59f1e983f7a78a0fc
i965/gen4-5: Cope with immutable-format texture revalidation

This is unfortunately sometimes necessary due to rebasing levels when
rendering into them.

16 piglits crash -> pass, when building mesa with debug enabled.

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